From 79e0d6ecc2a9ad09e7ec73576d1b8a1ace6b361c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 4 Jul 2025 13:18:50 +0300 Subject: run housekeeping tasks on task 0 if task id is passed, stop checking for pidlock --- update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index 9751aead1..093b5ae82 100755 --- a/update.php +++ b/update.php @@ -202,7 +202,7 @@ if (isset($options["feeds"])) { RSSUtils::update_daemon_common(Config::get(Config::DAEMON_FEED_LIMIT), $options); - if (!isset($options["pidlock"]) || $options["task"] == "0") + if (!isset($options["task"]) || $options["task"] == "0") RSSUtils::housekeeping_common(); PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, $options); @@ -249,7 +249,7 @@ RSSUtils::update_daemon_common(Config::get(Config::DAEMON_FEED_LIMIT), $options); - if (!isset($options["pidlock"]) || $options["task"] == "0") + if (!isset($options["task"]) || $options["task"] == "0") RSSUtils::housekeeping_common(); PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, $options); -- cgit v1.2.3-54-g00ecf