Don't perform a cooldown in the daemon by now

This commit is contained in:
Michael Vogel 2022-09-21 22:44:48 +02:00
parent 0fa281247d
commit f7d054674d

View file

@ -199,7 +199,6 @@ while (true) {
} }
if ($do_cron || (!DI::system()->isMaxLoadReached() && Worker::entriesExists() && Worker::isReady())) { if ($do_cron || (!DI::system()->isMaxLoadReached() && Worker::entriesExists() && Worker::isReady())) {
Worker::coolDown();
Worker::spawnWorker($do_cron); Worker::spawnWorker($do_cron);
} else { } else {
Logger::info('Cool down for 5 seconds', ['pid' => $pid]); Logger::info('Cool down for 5 seconds', ['pid' => $pid]);