summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-24 17:15:36 -0400
committerEvan Prodromou <evan@status.net>2009-09-24 17:15:36 -0400
commitb5b3690eef0b9223bc5dbfd2a72de165ca8112ad (patch)
tree25f0e021dc44be3c18fbf27d6727c49a06ab354e /classes/Notice.php
parentdfff99ecc8f54465c1af806adaa77fb98744ce3d (diff)
parentfd86c6eb1997ae3c9cd4b143ee253784d7603a6b (diff)
Merge branch 'master' into 0.8.x
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 89afe9d1d..7d0502626 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -897,7 +897,8 @@ class Notice extends Memcached_DataObject
$qry .= '('.$id.', '.$this->id.', '.$source.", '".$this->created. "') ";
$cnt++;
if (rand() % NOTICE_INBOX_SOFT_LIMIT == 0) {
- Notice_inbox::gc($id);
+ // FIXME: Causes lag in replicated servers
+ // Notice_inbox::gc($id);
}
if ($cnt >= MAX_BOXCARS) {
$inbox = new Notice_inbox();