From da512ad8c2b4cba719204d8a8f42ecba9716702e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 9 Jul 2009 19:35:50 -0400 Subject: gc inboxes on a regular basis --- classes/Notice.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/Notice.php') diff --git a/classes/Notice.php b/classes/Notice.php index 08125cf7b..e16d84352 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -875,6 +875,7 @@ class Notice extends Memcached_DataObject } $qry .= '('.$id.', '.$this->id.', '.$source.', "'.$this->created.'") '; $cnt++; + Notice_inbox::gc($id); if ($cnt >= MAX_BOXCARS) { $inbox = new Notice_inbox(); $inbox->query($qry); -- cgit v1.2.3-54-g00ecf