From: Andrew Dolgov Date: Sun, 12 Feb 2006 08:06:09 +0000 (+0100) Subject: daemon: rate limit in-between feed updates X-Git-Tag: 1.1.3~27 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=13def219520e48a557deeb70365f6e2aa5494097;p=tt-rss.git daemon: rate limit in-between feed updates --- diff --git a/update_daemon.php b/update_daemon.php index b780c7f7..62f0982f 100644 --- a/update_daemon.php +++ b/update_daemon.php @@ -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"; }