prune list of blocked items if too large, different costs for different page types

This commit is contained in:
Brian Quinion
2012-12-08 21:39:24 +00:00
parent 539d187b5c
commit 274f381052
7 changed files with 156 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
// Connection buckets to rate limit people being nasty
@define('CONST_ConnectionBucket_MemcacheServerAddress', false);
@define('CONST_ConnectionBucket_MemcacheServerPort', 11211);
@define('CONST_ConnectionBucket_MaxBlockList', 100);
@define('CONST_ConnectionBucket_LeakRate', 1);
@define('CONST_ConnectionBucket_BlockLimit', 10);
@define('CONST_ConnectionBucket_WaitLimit', 6);