update_feeds.php: update up to DAEMON_FEED_LIMIT on one run

master
Andrew Dolgov 16 years ago
parent bb5d3960e7
commit d2bf48f90a

@ -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

@ -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);

Loading…
Cancel
Save