Revert "Change the cache window on notices from 61 to 200, the max number"
This reverts commit d51820adc5
.
This commit is contained in:
parent
f0620a74c8
commit
a65b3f171c
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user