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

make globalUpdateFeeds handler use simple update mechanism to prevent script timeouts

This commit is contained in:
Andrew Dolgov
2013-07-24 12:55:10 +04:00
parent 9fa8d652c2
commit 113c3dec9e
2 changed files with 9 additions and 8 deletions

View File

@@ -391,13 +391,9 @@ class Handler_Public extends Handler {
}
function globalUpdateFeeds() {
include "rssfuncs.php";
// Update all feeds needing a update.
update_daemon_common(0, true, false);
housekeeping_common(false);
RPC::updaterandomfeed_real($this->dbh);
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
}
function sharepopup() {