summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-24 17:24:15 -0400
committerEvan Prodromou <evan@status.net>2009-09-24 17:24:15 -0400
commit93b7e601156d88399b57ef9cd2962a22350270a8 (patch)
tree14704f5e9f6aa438ce33477a0fee1d96538c5f2f /classes/Notice.php
parent78cec7ab87c005e988dbd8176585ffad9182d25c (diff)
parentb5b3690eef0b9223bc5dbfd2a72de165ca8112ad (diff)
Merge branch '0.8.x' into 0.9.x
Conflicts: EVENTS.txt
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 2138e0561..f3fa9af78 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -909,7 +909,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();