- // FIXME : $last_purge is of no use in a multiprocess update.
- // FIXME : We ALWAYS purge old posts.
- _debug("Purging old posts (random 30 feeds)...");
- global_purge_old_posts($link, true, 30);
-
- // $last_purge = time();
- // }
-
- // Call to the feed batch update function
- update_daemon_common($link);
+ if (rand(0,100) > 50) {
+ update_daemon_common($link);
+ } else {
+ $count = update_feedbrowser_cache($link);
+ _debug("Finished, $count feeds processed.");
+ }