]> git.wh0rd.org Git - tt-rss.git/commitdiff
feedbrowser cache: limit the amount of data cached
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 09:52:53 +0000 (10:52 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 09:52:53 +0000 (10:52 +0100)
functions.php

index 473356886cde2baf82c849f8095ffad5ccfe1a0c..df5c05d1db0136798c9aa9fa522c8ac35b4cff34 100644 (file)
                        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");