From d2bf48f90ad1997406708811c45163567b9c3ff0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 5 Nov 2008 06:58:49 +0100 Subject: [PATCH] update_feeds.php: update up to DAEMON_FEED_LIMIT on one run --- config.php-dist | 2 +- update_feeds.php | 2 +- 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);