mirror of
https://github.com/friendica/friendica
synced 2025-05-02 13:04:22 +02:00
Process unprocessed queue entries in a separate worker process
This commit is contained in:
parent
33e26b966e
commit
be633abe02
2 changed files with 41 additions and 2 deletions
|
@ -28,7 +28,6 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Tag;
|
||||
use Friendica\Protocol\ActivityPub\Queue;
|
||||
use Friendica\Protocol\Relay;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
|
@ -93,7 +92,7 @@ class Cron
|
|||
Tag::setGlobalTrendingHashtags(24, 20);
|
||||
|
||||
// Process all unprocessed entries
|
||||
Queue::processAll();
|
||||
Worker::add(Worker::PRIORITY_LOW, 'ProcessUnprocessedEntries');
|
||||
|
||||
// Search for new contacts in the directory
|
||||
if (DI::config()->get('system', 'synchronize_directory')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue