From: Zach Copley Date: Wed, 21 Jul 2010 19:29:47 +0000 (-0700) Subject: Revert "Revert "Change the cache window on notices from 61 to 200, the max number"" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=25e963769c866d6847064fd88172483a9c6b1964;p=quix0rs-gnu-social.git Revert "Revert "Change the cache window on notices from 61 to 200, the max number"" This reverts commit a65b3f171c4d23af8ca844439ad08959eb760b86. --- diff --git a/classes/Notice.php b/classes/Notice.php index ae7e2e5402..8552248bad 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 the first three 20-notice pages, plus one for pagination check, +/* We keep 200 notices, the max number of notices available per API request, * in the memcached cache. */ -define('NOTICE_CACHE_WINDOW', 61); +define('NOTICE_CACHE_WINDOW', 200); define('MAX_BOXCARS', 128);