mirror of
https://github.com/friendica/friendica
synced 2025-04-29 11:44:24 +02:00
The last of the big workers moved ... delivery and notifier
This commit is contained in:
parent
5108115fc1
commit
8cd21269ff
23 changed files with 672 additions and 693 deletions
|
@ -2106,7 +2106,7 @@ class DFRN
|
|||
$changed = true;
|
||||
|
||||
if ($entrytype == DFRN_REPLY_RC) {
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "comment-import", $current["id"]);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "comment-import", $current["id"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2752,7 +2752,7 @@ class DFRN
|
|||
|
||||
if ($posted_id && $parent && ($entrytype == DFRN_REPLY_RC)) {
|
||||
logger("Notifying followers about comment ".$posted_id, LOGGER_DEBUG);
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "comment-import", $posted_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "comment-import", $posted_id);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -2940,7 +2940,7 @@ class DFRN
|
|||
|
||||
if ($entrytype == DFRN_REPLY_RC) {
|
||||
logger("Notifying followers about deletion of post " . $item["id"], LOGGER_DEBUG);
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "drop", $item["id"]);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "drop", $item["id"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1696,7 +1696,7 @@ class Diaspora
|
|||
dba::insert('sign', array('iid' => $message_id, 'signed_text' => json_encode($data)));
|
||||
|
||||
// notify others
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "comment-import", $message_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "comment-import", $message_id);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -2024,7 +2024,7 @@ class Diaspora
|
|||
dba::insert('sign', array('iid' => $message_id, 'signed_text' => json_encode($data)));
|
||||
|
||||
// notify others
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "comment-import", $message_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "comment-import", $message_id);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -2320,7 +2320,7 @@ class Diaspora
|
|||
|
||||
$i = item_store($arr);
|
||||
if ($i) {
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "activity", $i);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "activity", $i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2768,7 +2768,7 @@ class Diaspora
|
|||
// Now check if the retraction needs to be relayed by us
|
||||
if ($parent["origin"]) {
|
||||
// notify others
|
||||
Worker::add(PRIORITY_HIGH, "notifier", "drop", $item["id"]);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "drop", $item["id"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue