1
0
Fork 0

Respawing when quitting

This commit is contained in:
Michael 2019-02-27 07:04:21 +00:00
parent 528636c9f4
commit e1cc7262de

View file

@ -126,7 +126,8 @@ class Worker
// Quit the worker once every cron interval // Quit the worker once every cron interval
if (time() > ($starttime + Config::get('system', '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; return;
} }