forked from GNUsocial/gnu-social
use a soft limit so there's not a whole bunch of deletes on every write
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user