mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
Fix to OStatus delivery to be not so blocking to other tasks
This commit is contained in:
parent
ac67f3c154
commit
5a1e1c1ec9
5 changed files with 52 additions and 39 deletions
|
@ -34,7 +34,7 @@ class Queue
|
|||
logger('filling queue jobs - start');
|
||||
|
||||
// Handling the pubsubhubbub requests
|
||||
Worker::add(['priority' => PRIORITY_HIGH, 'dont_fork' => true], 'PubSubPublish');
|
||||
Worker::add(['priority' => PRIORITY_LOW, 'dont_fork' => true], 'PubSubPublish');
|
||||
|
||||
$r = dba::inArray(dba::p("SELECT `id` FROM `queue` WHERE `next` < UTC_TIMESTAMP() ORDER BY `batch`, `cid`"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue