reduce next spawn idle messages
This commit is contained in:
parent
30ac8d1f86
commit
61aa749938
|
@ -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.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue