Issue 11776 - process replies via a worker task

This commit is contained in:
Michael 2022-07-27 20:03:28 +00:00
parent 3a4a76ac56
commit 3af55de978
3 changed files with 64 additions and 4 deletions

View file

@ -980,7 +980,11 @@ class Processor
if ($success) {
Queue::remove($activity);
Queue::processReplyByUri($item['uri']);
if (Queue::hasChildren($item['uri'])) {
//Queue::processReplyByUri($item['uri']);
Worker::add(PRIORITY_HIGH, 'ProcessReplyByUri', $item['uri']);
}
}
// Store send a follow request for every reshare - but only when the item had been stored