remove COUNTERS_MAX_AGE, add some optimization for counter queries (refs #464)

This commit is contained in:
Andrew Dolgov
2012-07-09 13:02:42 +04:00
parent 18f6961a65
commit 687bb90d27
4 changed files with 23 additions and 60 deletions

View File

@@ -178,11 +178,6 @@
define('CHECK_FOR_NEW_VERSION', true);
// Check for new versions of tt-rss automatically.
define('COUNTERS_MAX_AGE', 365);
// Hard limit for unread counters calculation. Try tweaking this
// parameter to speed up tt-rss when having a huge number of articles
// in the database (better yet, enable purging!)
define('ENABLE_GZIP_OUTPUT', false);
// Selectively gzip output to improve wire performance. This requires
// PHP Zlib extension on the server.