From: Michael Date: Fri, 13 May 2022 19:37:50 +0000 (+0000) Subject: Fix test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ef2679ca675bd3c80ccf8b21346bebf5996e762;p=friendica.git Fix test --- diff --git a/src/Worker/RequeuePosts.php b/src/Worker/RequeuePosts.php index 3c3d249bb6..568595aafd 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']]); }