The last of the big workers moved ... delivery and notifier
This commit is contained in:
+2
-2
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user