mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-06 14:17:27 +02:00
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
This commit is contained in:
commit
0034cd69f8
@ -201,7 +201,9 @@
|
|||||||
|
|
||||||
if (isset($options["feeds"])) {
|
if (isset($options["feeds"])) {
|
||||||
RSSUtils::update_daemon_common(Config::get(Config::DAEMON_FEED_LIMIT), $options);
|
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);
|
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, $options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user