use a soft limit so there's not a whole bunch of deletes on every write

This commit is contained in:
Evan Prodromou
2009-07-16 00:26:51 -04:00
parent da512ad8c2
commit 83cbf246a8
2 changed files with 4 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ define('INBOX_CACHE_WINDOW', 101);
define('NOTICE_INBOX_GC_BOXCAR', 128);
define('NOTICE_INBOX_GC_MAX', 12800);
define('NOTICE_INBOX_LIMIT', 1000);
define('NOTICE_INBOX_SOFT_LIMIT', 1000);
define('NOTICE_INBOX_SOURCE_SUB', 1);
define('NOTICE_INBOX_SOURCE_GROUP', 2);