diff options
author | Evan Prodromou <evan@status.net> | 2009-08-29 11:59:54 -0700 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-08-29 11:59:54 -0700 |
commit | 55972f59f6dd3048761f72c16e3fffac3fb29d47 (patch) | |
tree | 5dac0eb2276d3990dd37b688fefdc74f89c22fe8 /classes/Notice.php | |
parent | 59f47fab4a00a4fc8f3dfd27367e248e4bcbd957 (diff) |
remove Notice::gc() for now
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 3 |
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(); |