mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Added config value
This commit is contained in:
parent
5c72aeb8d7
commit
e07a17daf6
2 changed files with 6 additions and 1 deletions
|
@ -1234,7 +1234,8 @@ class Worker
|
|||
$id = $queue['id'];
|
||||
$priority = $queue['priority'];
|
||||
|
||||
$max_level = 15;
|
||||
$max_level = Config::get('system', 'worker_defer_limit');
|
||||
|
||||
$new_retrial = self::getNextRetrial($queue, $max_level);
|
||||
|
||||
if ($new_retrial > $max_level) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue