update_daemon2: print idle notice once per 10 seconds

master
Andrew Dolgov 17 years ago
parent 6a69e61ffb
commit ce1aa9b7c2

@ -43,7 +43,9 @@
$next_spawn = $last_checkpoint + SPAWN_INTERVAL - time();
print "[MASTER] active jobs: $running_jobs, next spawn at $next_spawn sec\n";
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…
Cancel
Save