From 830f6f08b48dcb2237ad603a5ae1df7d30c912c9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 20 May 2013 14:39:14 +0400 Subject: [PATCH] daemon2: only perform houskeeping on task 0 --- update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.39.5