mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
unify houskeeping stuff, increase spawn interval
This commit is contained in:
@@ -53,6 +53,10 @@ class Db implements IDb {
|
||||
return("'$str'");
|
||||
}
|
||||
|
||||
function reconnect() {
|
||||
$this->link = $this->adapter->connect(DB_HOST, DB_USER, DB_PASS, DB_NAME, defined('DB_PORT') ? DB_PORT : "");
|
||||
}
|
||||
|
||||
function connect($host, $user, $pass, $db, $port) {
|
||||
//return $this->adapter->connect($host, $user, $pass, $db, $port);
|
||||
return ;
|
||||
|
||||
@@ -368,14 +368,7 @@ class Handler_Public extends Handler {
|
||||
include "rssfuncs.php";
|
||||
// Update all feeds needing a update.
|
||||
update_daemon_common(0, true, false);
|
||||
|
||||
// Update feedbrowser
|
||||
update_feedbrowser_cache();
|
||||
|
||||
// Purge orphans and cleanup tags
|
||||
purge_orphans();
|
||||
|
||||
cleanup_tags(14, 50000);
|
||||
housekeeping_common(false);
|
||||
|
||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user