mirror of
https://github.com/friendica/friendica
synced 2024-11-19 20:23:40 +00:00
Respawing when quitting
This commit is contained in:
parent
528636c9f4
commit
e1cc7262de
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ class Worker
|
|||
|
||||
// Quit the worker once every cron interval
|
||||
if (time() > ($starttime + Config::get('system', 'cron_interval'))) {
|
||||
Logger::log('Process lifetime reached, quitting.', Logger::DEBUG);
|
||||
Logger::log('Process lifetime reached, respawning.', Logger::DEBUG);
|
||||
self::spawnWorker();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue