From: Andrew Dolgov Date: Wed, 5 Nov 2008 05:58:49 +0000 (+0100) Subject: update_feeds.php: update up to DAEMON_FEED_LIMIT on one run X-Git-Tag: 1.2.29~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d2bf48f90ad1997406708811c45163567b9c3ff0;p=tt-rss.git update_feeds.php: update up to DAEMON_FEED_LIMIT on one run --- diff --git a/config.php-dist b/config.php-dist index a573df15..982bcb7a 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 2c23ac73..139da699 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);