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");