forked from GNUsocial/gnu-social
remove Notice::gc() for now
This commit is contained in:
parent
59f47fab4a
commit
55972f59f6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user