diff options
author | Zach Copley <zach@status.net> | 2010-07-19 17:38:11 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-07-19 17:38:11 -0700 |
commit | a65b3f171c4d23af8ca844439ad08959eb760b86 (patch) | |
tree | 8a44ae32872e3ffd6b6b242595c4cc1cb602b467 /classes | |
parent | f0620a74c8a1a25ceb957819e528ef5a7d044d6e (diff) |
Revert "Change the cache window on notices from 61 to 200, the max number"
This reverts commit d51820adc52aef962542ecc6da0607ce0118fefc.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Notice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 8552248ba..ae7e2e540 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -42,10 +42,10 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { */ require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; -/* We keep 200 notices, the max number of notices available per API request, +/* We keep the first three 20-notice pages, plus one for pagination check, * in the memcached cache. */ -define('NOTICE_CACHE_WINDOW', 200); +define('NOTICE_CACHE_WINDOW', 61); define('MAX_BOXCARS', 128); |