update_daemon2: print idle notice once per 10 seconds
This commit is contained in:
parent
6a69e61ffb
commit
ce1aa9b7c2
|
@ -43,7 +43,9 @@
|
|||
|
||||
$next_spawn = $last_checkpoint + SPAWN_INTERVAL - time();
|
||||
|
||||
if ($next_spawn % 10 == 0) {
|
||||
print "[MASTER] active jobs: $running_jobs, next spawn at $next_spawn sec\n";
|
||||
}
|
||||
|
||||
if ($last_checkpoint + SPAWN_INTERVAL < time()) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue