summaryrefslogtreecommitdiff
path: root/update_daemon.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-12 09:06:09 +0100
committerAndrew Dolgov <[email protected]>2006-02-12 09:06:09 +0100
commit13def219520e48a557deeb70365f6e2aa5494097 (patch)
tree245b62835fd8138429aeebbb694a5747b3350d2f /update_daemon.php
parent78ea1de08ce641e1125063e1a13a230a075e424f (diff)
daemon: rate limit in-between feed updates
Diffstat (limited to 'update_daemon.php')
-rw-r--r--update_daemon.php1
1 files changed, 1 insertions, 0 deletions
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";
}