mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 06:05:58 +00:00
reduce next spawn idle messages
This commit is contained in:
@@ -186,7 +186,7 @@
|
|||||||
// respect the spawn interval
|
// respect the spawn interval
|
||||||
$next_spawn = $last_checkpoint + $spawn_interval - time();
|
$next_spawn = $last_checkpoint + $spawn_interval - time();
|
||||||
|
|
||||||
if ($next_spawn % 10 == 0) {
|
if ($next_spawn % 60 == 0) {
|
||||||
$running_jobs = count($children);
|
$running_jobs = count($children);
|
||||||
_debug("[MASTER] active jobs: $running_jobs, next spawn at $next_spawn sec.");
|
_debug("[MASTER] active jobs: $running_jobs, next spawn at $next_spawn sec.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user