diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2006-02-12 09:06:09 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2006-02-12 09:06:09 +0100 |
| commit | 13def219520e48a557deeb70365f6e2aa5494097 (patch) | |
| tree | 245b62835fd8138429aeebbb694a5747b3350d2f | |
| parent | 78ea1de08ce641e1125063e1a13a230a075e424f (diff) | |
daemon: rate limit in-between feed updates
| -rw-r--r-- | update_daemon.php | 1 |
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"; } |