daemon: rate limit in-between feed updates

master
Andrew Dolgov 19 years ago
parent 78ea1de08c
commit 13def21952

@ -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";
}

Loading…
Cancel
Save