From: Andrew Dolgov Date: Mon, 20 May 2013 10:39:14 +0000 (+0400) Subject: daemon2: only perform houskeeping on task 0 X-Git-Tag: 1.8~81 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=830f6f08b48dcb2237ad603a5ae1df7d30c912c9;p=tt-rss.git daemon2: only perform houskeeping on task 0 --- diff --git a/update.php b/update.php index 5e4a5ab7..0141b1a8 100755 --- a/update.php +++ b/update.php @@ -175,7 +175,9 @@ } update_daemon_common(isset($options["pidlock"]) ? 50 : DAEMON_FEED_LIMIT); - housekeeping_common(true); + + if (!isset($options["pidlock"]) || $options["task"] == 0) + housekeeping_common(true); PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op); }