summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-07-21 12:29:47 -0700
committerZach Copley <zach@status.net>2010-07-21 12:29:47 -0700
commit25e963769c866d6847064fd88172483a9c6b1964 (patch)
tree4b54f3e14ba2414d5021b8d458b2af2956c31544 /classes
parent9b899eea750fd54c75fbb58e48526a5cab169f6c (diff)
Revert "Revert "Change the cache window on notices from 61 to 200, the max number""
This reverts commit a65b3f171c4d23af8ca844439ad08959eb760b86.
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index ae7e2e540..8552248ba 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);