From 6f483f5f578601c1813aa203161af2d694820cc1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 10:52:53 +0100 Subject: [PATCH] feedbrowser cache: limit the amount of data cached --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");