mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Prevent fetching replies when fetching replies
This commit is contained in:
parent
3776cf8919
commit
63d4f1cace
3 changed files with 38 additions and 4 deletions
|
@ -333,6 +333,7 @@ class Queue
|
|||
return false;
|
||||
}
|
||||
$activity['recursion-depth'] = 0;
|
||||
$activity['callstack'] = Processor::addToCallstack($activity['callstack'] ?? []);
|
||||
$wid = Worker::add(Worker::PRIORITY_HIGH, 'FetchMissingActivity', $entry['in-reply-to-id'], $activity, '', Receiver::COMPLETION_ASYNC);
|
||||
Fetch::setWorkerId($entry['in-reply-to-id'], $wid);
|
||||
Logger::debug('Fetch missing activity', ['wid' => $wid, 'id' => $entry['activity-id'], 'reply-to-id' => $entry['in-reply-to-id']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue