summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-07-04 13:02:54 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-07-04 13:02:54 +0300
commit0034cd69f8225c37769a093339e5c589dc9f4335 (patch)
tree8482c8d91f313a83668a5a167d96f6344284f967
parentee2f5562652c58d1692e4d608d54d70ea343a672 (diff)
parent7b4f03965160c094505f5c1181cbcea0bffd6cce (diff)
Merge branch 'housekeeping_task' into 'master'
only run housekeeping on task 0 when --feeds is invoked with pidlock and task... See merge request tt-rss/tt-rss!159
-rwxr-xr-xupdate.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/update.php b/update.php
index 9df6a0abe..9751aead1 100755
--- a/update.php
+++ b/update.php
@@ -201,7 +201,9 @@
if (isset($options["feeds"])) {
RSSUtils::update_daemon_common(Config::get(Config::DAEMON_FEED_LIMIT), $options);
- RSSUtils::housekeeping_common();
+
+ if (!isset($options["pidlock"]) || $options["task"] == "0")
+ RSSUtils::housekeeping_common();
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, $options);
}