daemon: rate limit in-between feed updates
This commit is contained in:
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…
Reference in New Issue