mirror of
https://github.com/friendica/friendica
synced 2025-05-01 17:04:25 +02:00
Improved relay post processing
This commit is contained in:
parent
a1b5ec94fb
commit
5afa4fa838
8 changed files with 153 additions and 100 deletions
|
@ -44,8 +44,10 @@ class FetchMissingActivity
|
|||
$result = ActivityPub\Processor::fetchMissingActivity($url, $child, $relay_actor, $completion);
|
||||
if ($result) {
|
||||
Logger::info('Successfully fetched missing activity', ['url' => $url]);
|
||||
} elseif (is_null($result)) {
|
||||
Logger::info('Permament error, activity could not be fetched', ['url' => $url]);
|
||||
} elseif (!Worker::defer(self::WORKER_DEFER_LIMIT)) {
|
||||
Logger::info('Activity could not be fetched', ['url' => $url]);
|
||||
Logger::info('Defer limit reached, activity could not be fetched', ['url' => $url]);
|
||||
|
||||
// recursively delete all entries that belong to this worker task
|
||||
$queue = DI::app()->getQueue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue