summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-09-26 15:23:17 -0700
committerBrion Vibber <brion@pobox.com>2009-09-26 15:23:17 -0700
commit9235c1437e542d2b565d2d2d36fe2b7561e4d5f7 (patch)
tree39696600bb73d06cb8589775075ccbf8b5dd261a /classes/Notice.php
parent987f7ead945f98bde898aaaf09442ece5550a90f (diff)
parentd3d9913be062c974e3ae721c0cbf5c5ad2cbfce8 (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.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 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();