mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
Option to activate or deactivate the background fetching
This commit is contained in:
parent
f7ec8d5b8e
commit
81b244f91e
2 changed files with 7 additions and 3 deletions
|
@ -340,7 +340,7 @@ class Processor
|
|||
}
|
||||
}
|
||||
|
||||
if ($fetch_by_worker) {
|
||||
if ($fetch_by_worker && DI::config()->get('system', 'fetch_by_worker')) {
|
||||
Logger::notice('Fetching is done by worker.', ['parent' => $activity['reply-to-id'], 'recursion-depth' => $recursion_depth]);
|
||||
$activity['recursion-depth'] = 0;
|
||||
if (!Fetch::hasWorker($activity['reply-to-id'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue