From 13def219520e48a557deeb70365f6e2aa5494097 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Feb 2006 09:06:09 +0100 Subject: [PATCH] daemon: rate limit in-between feed updates --- update_daemon.php | 1 + 1 file changed, 1 insertion(+) diff --git a/update_daemon.php b/update_daemon.php index b780c7f7e..62f0982fc 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"; }