Getter/Setter for queue

This commit is contained in:
Michael 2021-07-24 22:08:33 +00:00
parent 866dbf9f89
commit 0bbe954316
5 changed files with 47 additions and 32 deletions

View file

@ -42,7 +42,7 @@ class ProfileUpdate {
foreach ($inboxes as $inbox => $receivers) {
Logger::log('Profile update for user ' . $uid . ' to ' . $inbox .' via ActivityPub', Logger::DEBUG);
Worker::add(['priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true],
Worker::add(['priority' => $a->getQueueValue('priority'), 'created' => $a->getQueueValue('created'), 'dont_fork' => true],
'APDelivery', Delivery::PROFILEUPDATE, 0, $inbox, $uid, $receivers);
}