From d460f7aa5dd527e29cf45dfea026e95a4ead36da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Jan 2009 11:03:35 +0100 Subject: [PATCH] feedbrowser_cache: add limit --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 5d965eed1..d80c6fb5e 100644 --- a/functions.php +++ b/functions.php @@ -5801,7 +5801,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, title ORDER BY subscribers DESC"); + GROUP BY feed_url, title ORDER BY subscribers DESC LIMIT 1000"); db_query($link, "BEGIN");