From a041c7c0fa1b688b32112d52e34784ba01aabbb2 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 6 Dec 2018 10:04:16 +0000 Subject: [PATCH] Issue 6236: Handle account removal messages with very low priority --- src/Worker/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index e0108ddcfe..00ad1543d6 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -106,7 +106,7 @@ class Notifier $inboxes = ActivityPub\Transmitter::fetchTargetInboxesforUser(0); foreach ($inboxes as $inbox) { Logger::log('Account removal for user ' . $item_id . ' to ' . $inbox .' via ActivityPub', Logger::DEBUG); - Worker::add(['priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true], + Worker::add(['priority' => PRIORITY_NEGLIGIBLE, 'created' => $a->queue['created'], 'dont_fork' => true], 'APDelivery', Delivery::REMOVAL, '', $inbox, $item_id); }