daemon: rate limit in-between feed updates

This commit is contained in:
Andrew Dolgov 2006-02-12 09:06:09 +01:00
parent 78ea1de08c
commit 13def21952
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@
print "Updating...\n";
update_rss_feed($link, $line["feed_url"], $line["id"], true);
sleep(3); // prevent flood (FIXME make this an option?)
} else {
print "Update not needed.\n";
}