From 5e440aa0350075b5ba915c81bb2818ab38fe6469 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 27 Feb 2019 08:55:25 +0000 Subject: [PATCH] The cron interval is minutes - so we have to convert it into seconds --- src/Core/Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 3c1f08fdae..984fca5950 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -143,7 +143,7 @@ class Worker } // Quit the worker once every cron interval - if (time() > ($starttime + Config::get('system', 'cron_interval'))) { + if (time() > ($starttime + (Config::get('system', 'cron_interval') * 60))) { Logger::log('Process lifetime reached, respawning.', Logger::DEBUG); self::spawnWorker(); return; -- 2.39.5