Don't perform a cooldown in the daemon by now
This commit is contained in:
parent
0fa281247d
commit
f7d054674d
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user