From: Michael Date: Wed, 27 Feb 2019 07:04:21 +0000 (+0000) Subject: Respawing when quitting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1cc7262de44a1323048a7e5f03335bdf0120c5e;p=friendica.git Respawing when quitting --- diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 7e40a26c4a..362d41811c 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -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; }