feedbrowser cache: limit the amount of data cached

This commit is contained in:
Andrew Dolgov 2009-01-16 10:52:53 +01:00
parent ce8de9044d
commit 6f483f5f57
1 changed files with 1 additions and 1 deletions

View File

@ -5910,7 +5910,7 @@
FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf
WHERE tf.feed_url = ttrss_feeds.feed_url WHERE tf.feed_url = ttrss_feeds.feed_url
AND (private IS true OR feed_url LIKE '%:%@%/%')) 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"); db_query($link, "BEGIN");