diff --git a/src/Worker/RequeuePosts.php b/src/Worker/RequeuePosts.php index 3c3d249bb..568595aaf 100644 --- a/src/Worker/RequeuePosts.php +++ b/src/Worker/RequeuePosts.php @@ -37,7 +37,7 @@ class RequeuePosts $deliveries = DBA::p("SELECT `item-uri`.`uri` AS `inbox` FROM `post-delivery` INNER JOIN `item-uri` ON `item-uri`.`id` = `post-delivery`.`inbox-id` GROUP BY `inbox`"); while ($delivery = DBA::fetch($deliveries)) { Post\Delivery::removeFailed($delivery['inbox']); - + if (Worker::add(PRIORITY_HIGH, 'APDelivery', '', 0, $delivery['inbox'], 0)) { Logger::info('Missing APDelivery worker added for inbox', ['inbox' => $delivery['inbox']]); }