summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-11-05 06:58:49 +0100
committerAndrew Dolgov <[email protected]>2008-11-05 06:58:49 +0100
commitd2bf48f90ad1997406708811c45163567b9c3ff0 (patch)
tree98f50b000801a568984e7857ff80c1475078404e
parentbb5d3960e77373d4d5426105ab5c4f0e6d5da1f8 (diff)
update_feeds.php: update up to DAEMON_FEED_LIMIT on one run
-rw-r--r--config.php-dist2
-rw-r--r--update_feeds.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.php-dist b/config.php-dist
index a573df154..982bcb7aa 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -164,7 +164,7 @@
// outgoing mail. Require DIGEST_SMTP_HOST.
define('DAEMON_FEED_LIMIT', 100);
- // Limits the amount of feeds daemon updates on one run
+ // Limits the amount of feeds daemon (or a cronjob) updates on one run
define('ALLOW_REMOTE_USER_AUTH', false);
// Set to 'true' if you trust your web server's REMOTE_USER
diff --git a/update_feeds.php b/update_feeds.php
index 2c23ac730..139da6999 100644
--- a/update_feeds.php
+++ b/update_feeds.php
@@ -50,7 +50,7 @@
global_purge_old_posts($link, true, 30);
// Update all feeds needing a update.
- update_daemon_common($link, $limit=0);
+ update_daemon_common($link);
// Send feed digests by email if needed.
if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link);