mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 15:21:29 +00:00
misc daemon updates
This commit is contained in:
@@ -5798,12 +5798,6 @@
|
|||||||
// Send feed digests by email if needed.
|
// Send feed digests by email if needed.
|
||||||
if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link);
|
if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link);
|
||||||
|
|
||||||
purge_orphans($link);
|
|
||||||
|
|
||||||
$rc = cleanup_tags($link, 14, 50000);
|
|
||||||
|
|
||||||
if ($debug) _debug("$rc uncached tags cleaned.");
|
|
||||||
|
|
||||||
} // function update_daemon_common
|
} // function update_daemon_common
|
||||||
|
|
||||||
function sanitize_article_content($text) {
|
function sanitize_article_content($text) {
|
||||||
|
|||||||
@@ -85,7 +85,13 @@
|
|||||||
update_daemon_common($link);
|
update_daemon_common($link);
|
||||||
} else {
|
} else {
|
||||||
$count = update_feedbrowser_cache($link);
|
$count = update_feedbrowser_cache($link);
|
||||||
_debug("Finished, $count feeds processed.");
|
_debug("Feedbrowser updated, $count feeds processed.");
|
||||||
|
|
||||||
|
purge_orphans($link, true);
|
||||||
|
|
||||||
|
$rc = cleanup_tags($link, 14, 50000);
|
||||||
|
|
||||||
|
_debug("Cleaned $rc cached tags.");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -214,7 +214,14 @@
|
|||||||
update_daemon_common($link);
|
update_daemon_common($link);
|
||||||
} else {
|
} else {
|
||||||
$count = update_feedbrowser_cache($link);
|
$count = update_feedbrowser_cache($link);
|
||||||
_debug("Finished, $count feeds processed.");
|
_debug("Feedbrowser updated, $count feeds processed.");
|
||||||
|
|
||||||
|
purge_orphans($link, true);
|
||||||
|
|
||||||
|
$rc = cleanup_tags($link, 14, 50000);
|
||||||
|
|
||||||
|
_debug("Cleaned $rc cached tags.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_debug("Elapsed time: " . (time() - $start_timestamp) . " second(s)");
|
_debug("Elapsed time: " . (time() - $start_timestamp) . " second(s)");
|
||||||
|
|||||||
Reference in New Issue
Block a user