reduce next spawn idle messages

This commit is contained in:
Andrew Dolgov 2013-03-29 13:04:05 +04:00
parent 30ac8d1f86
commit 61aa749938

View file

@ -186,7 +186,7 @@
// respect the spawn interval // respect the spawn interval
$next_spawn = $last_checkpoint + $spawn_interval - time(); $next_spawn = $last_checkpoint + $spawn_interval - time();
if ($next_spawn % 10 == 0) { if ($next_spawn % 60 == 0) {
$running_jobs = count($children); $running_jobs = count($children);
_debug("[MASTER] active jobs: $running_jobs, next spawn at $next_spawn sec."); _debug("[MASTER] active jobs: $running_jobs, next spawn at $next_spawn sec.");
} }