1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:35:55 +00:00

speed up plugin updating a bit, fix some phpstan warnings

This commit is contained in:
Andrew Dolgov
2021-02-28 21:50:05 +03:00
parent bf02afed45
commit b05d4e3d9f
4 changed files with 18 additions and 7 deletions

View File

@@ -253,7 +253,7 @@
RSSUtils::update_daemon_common(isset($options["pidlock"]) ? 50 : Config::get(Config::DAEMON_FEED_LIMIT), $options);
if (!isset($options["pidlock"]) || $options["task"] == 0)
if (!isset($options["pidlock"]) || $options["task"] == "0")
RSSUtils::housekeeping_common();
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, $options);