]> git.wh0rd.org - tt-rss.git/commitdiff
reduce next spawn idle messages
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 09:04:05 +0000 (13:04 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 09:04:05 +0000 (13:04 +0400)
update_daemon2.php

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