mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
Execute critical worker tasks, even if we're in daemon mode
This commit is contained in:
parent
5b2e02889e
commit
80e8f4aa34
1 changed files with 2 additions and 2 deletions
|
@ -1315,8 +1315,8 @@ class Worker
|
||||||
return $added;
|
return $added;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Quit on daemon mode
|
// Quit on daemon mode, except the priority is critical (like for db updates)
|
||||||
if (Worker\Daemon::isMode()) {
|
if (Worker\Daemon::isMode() && $priority !== self::PRIORITY_CRITICAL) {
|
||||||
return $added;
|
return $added;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue