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
|
@ -834,7 +834,7 @@ function item_post(App $a) {
|
|||
// update filetags in pconfig
|
||||
file_tag_update_pconfig($uid,$categories_old,$categories_new,'category');
|
||||
|
||||
Worker::add(PRIORITY_HIGH, "notifier", 'edit_post', $post_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", 'edit_post', $post_id);
|
||||
if ((x($_REQUEST, 'return')) && strlen($return_path)) {
|
||||
logger('return: ' . $return_path);
|
||||
goaway($return_path);
|
||||
|
@ -1067,7 +1067,7 @@ function item_post(App $a) {
|
|||
Worker::add(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), "CreateShadowentry", $post_id);
|
||||
|
||||
// Call the background process that is delivering the item to the receivers
|
||||
Worker::add(PRIORITY_HIGH, "notifier", $notify_type, $post_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", $notify_type, $post_id);
|
||||
|
||||
logger('post_complete');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue