git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit b5b3690e authored by Evan Prodromou's avatar Evan Prodromou

Merge branch 'master' into 0.8.x

parents dfff99ec fd86c6eb
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment