set DAEMON_FEED_LIMIT to 50 by default and use it consistently between forking daemon and any other update methods

This commit is contained in:
Andrew Dolgov
2024-06-18 21:54:22 +03:00
parent db3e67b3fe
commit df8403be08
2 changed files with 2 additions and 2 deletions

View File

@@ -253,7 +253,7 @@
exit(1);
}
RSSUtils::update_daemon_common(isset($options["pidlock"]) ? 50 : Config::get(Config::DAEMON_FEED_LIMIT), $options);
RSSUtils::update_daemon_common(Config::get(Config::DAEMON_FEED_LIMIT), $options);
if (!isset($options["pidlock"]) || $options["task"] == "0")
RSSUtils::housekeeping_common();