Revert "Change the cache window on notices from 61 to 200, the max number"

This reverts commit d51820adc5.
This commit is contained in:
Zach Copley 2010-07-19 17:38:11 -07:00
parent f0620a74c8
commit a65b3f171c
1 changed files with 2 additions and 2 deletions

View File

@ -42,10 +42,10 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
*/ */
require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; 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. */ * in the memcached cache. */
define('NOTICE_CACHE_WINDOW', 200); define('NOTICE_CACHE_WINDOW', 61);
define('MAX_BOXCARS', 128); define('MAX_BOXCARS', 128);