update_daemon2: enable stampfiles

This commit is contained in:
Andrew Dolgov 2008-01-23 10:57:20 +01:00
parent ce1aa9b7c2
commit 0bd6e68a85
1 changed files with 3 additions and 4 deletions

View File

@ -63,10 +63,9 @@
$last_purge = 0;
// if (!make_stampfile('update_daemon.stamp')) {
// print "error: unable to create stampfile";
// die;
// }
if (!make_stampfile('update_daemon.stamp')) {
print "warning: unable to create stampfile";
}
if (time() - $last_purge > PURGE_INTERVAL) {
_debug("Purging old posts (random 30 feeds)...");