mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
update_daemon2: print idle notice once per 10 seconds
This commit is contained in:
@@ -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()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user