mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:35:55 +00:00
update_feeds.php: update up to DAEMON_FEED_LIMIT on one run
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user