]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/settings.php
prune list of blocked items if too large, different costs for different page types
[nominatim.git] / settings / settings.php
index 6bf526caaf8e05cadcec65c6a26eed0be0ffbdbe..58463a516c2a28cbe147a92e7f92e56a186f1abd 100644 (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);