]> git.wh0rd.org - tt-rss.git/blobdiff - update_daemon2.php
reduce next spawn idle messages
[tt-rss.git] / update_daemon2.php
index 7062e8e354cd9bc08a205566a742b18ccf8de72e..ca787de5b59c6a5aa088329e65482378f62651f1 100755 (executable)
        $longopts = array("log:",
                        "tasks:",
                        "interval",
+                       "quiet",
                        "help");
 
        $options = getopt("", $longopts);
                // 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.");
                }