mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-05 13:47:25 +02:00
only run housekeeping on task 0 when --feeds is invoked with pidlock and task id, similar to daemon-loop
This commit is contained in:
parent
629535329d
commit
2e62d27b9f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user