]> git.wh0rd.org - tt-rss.git/blobdiff - update_daemon2.php
misc daemon updates
[tt-rss.git] / update_daemon2.php
index 5ffc4f549934528fcb1c9ae13ddf312325a981a5..63f218cc4961692765ea068c209a6ecb395650db 100755 (executable)
                                                update_daemon_common($link);
                                        } else {
                                                $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)");