From: Andrew Dolgov Date: Tue, 20 Jan 2009 10:03:35 +0000 (+0100) Subject: feedbrowser_cache: add limit X-Git-Tag: 1.3.0~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d460f7aa5dd527e29cf45dfea026e95a4ead36da;p=tt-rss.git feedbrowser_cache: add limit --- diff --git a/functions.php b/functions.php index 5d965eed..d80c6fb5 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");