]> git.wh0rd.org - tt-rss.git/commitdiff
update_feeds.php: update up to DAEMON_FEED_LIMIT on one run
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 5 Nov 2008 05:58:49 +0000 (06:58 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 5 Nov 2008 05:58:49 +0000 (06:58 +0100)
config.php-dist
update_feeds.php

index a573df154fd34819b68b4552106c861a034c2fd4..982bcb7aa4b69950061f4412586a923770c043c6 100644 (file)
        // 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
index 2c23ac7306ff650d037e60017c198d4016c5419c..139da699925cf575cdfddb432b960ca5c351ffa4 100644 (file)
@@ -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);