summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-16 10:52:53 +0100
committerAndrew Dolgov <[email protected]>2009-01-16 10:52:53 +0100
commit6f483f5f578601c1813aa203161af2d694820cc1 (patch)
tree5235d647ab0698f01d9c7122fa0ba12fb58a8f24
parentce8de9044d18d3ed4537783c1fa72ca6b46d7892 (diff)
feedbrowser cache: limit the amount of data cached
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 473356886..df5c05d1d 100644
--- a/functions.php
+++ b/functions.php
@@ -5910,7 +5910,7 @@
FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf
WHERE tf.feed_url = ttrss_feeds.feed_url
AND (private IS true OR feed_url LIKE '%:%@%/%'))
- GROUP BY feed_url ORDER BY subscribers DESC");
+ GROUP BY feed_url ORDER BY subscribers DESC LIMIT 200");
db_query($link, "BEGIN");