summaryrefslogtreecommitdiff
path: root/update_daemon.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-11-17 09:40:37 +0100
committerAndrew Dolgov <[email protected]>2007-11-17 09:40:37 +0100
commitae4ecd5d63acfd43ff04a5e8df13dc030e779f07 (patch)
tree894dbac9393b6faa97f38c0f76432e154310e10f /update_daemon.php
parent6352c214ca3e7c394fd6576af6d41a2835144d13 (diff)
new config option: DAEMON_FEED_LIMIT
Diffstat (limited to 'update_daemon.php')
-rw-r--r--update_daemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_daemon.php b/update_daemon.php
index 50d13191c..75229f667 100644
--- a/update_daemon.php
+++ b/update_daemon.php
@@ -133,7 +133,7 @@
ttrss_feeds,ttrss_users
WHERE
ttrss_users.id = owner_uid $login_thresh_qpart
- ORDER BY $random_qpart DESC");
+ ORDER BY $random_qpart DESC LIMIT " . DAEMON_FEED_LIMIT);
$user_prefs_cache = array();