mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
regenerate feedbrowser cache from the update daemon
This commit is contained in:
@@ -174,8 +174,15 @@
|
||||
// $last_purge = time();
|
||||
// }
|
||||
|
||||
// Call to the feed batch update function
|
||||
update_daemon_common($link);
|
||||
// Call to the feed batch update function
|
||||
// or regenerate feedbrowser cache
|
||||
|
||||
if (rand(0,100) > 50) {
|
||||
update_daemon_common($link);
|
||||
} else {
|
||||
$count = update_feedbrowser_cache($link);
|
||||
_debug("Finished, $count feeds processed.");
|
||||
}
|
||||
|
||||
_debug("Elapsed time: " . (time() - $start_timestamp) . " second(s)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user