Remove reference to receivers when adding relay delivery tasks in Worker\Notifier
- Address https://github.com/friendica/friendica/pull/9661#issuecomment-745553051
This commit is contained in:
parent
5f148dcb42
commit
a2f14efd94
1 changed files with 2 additions and 2 deletions
|
@ -834,10 +834,10 @@ class Notifier
|
||||||
}
|
}
|
||||||
|
|
||||||
// We deliver posts to relay servers slightly delayed to priorize the direct delivery
|
// We deliver posts to relay servers slightly delayed to priorize the direct delivery
|
||||||
foreach ($relay_inboxes as $inbox => $receivers) {
|
foreach ($relay_inboxes as $inbox) {
|
||||||
Logger::info('Delivery to relay servers via ActivityPub', ['cmd' => $cmd, 'id' => $target_item['id'], 'inbox' => $inbox]);
|
Logger::info('Delivery to relay servers via ActivityPub', ['cmd' => $cmd, 'id' => $target_item['id'], 'inbox' => $inbox]);
|
||||||
|
|
||||||
if (Worker::add(['priority' => $priority, 'dont_fork' => true], 'APDelivery', $cmd, $target_item['id'], $inbox, $uid, $receivers)) {
|
if (Worker::add(['priority' => $priority, 'dont_fork' => true], 'APDelivery', $cmd, $target_item['id'], $inbox, $uid)) {
|
||||||
$delivery_queue_count++;
|
$delivery_queue_count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue