3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

servprotect: bump default conf up to 10 hits/10 seconds

This commit is contained in:
James Lu 2017-08-03 10:10:28 -07:00
parent dcc171095f
commit d734fc3280

View File

@ -6,7 +6,7 @@ from pylinkirc.log import log
# check for definitions # check for definitions
servprotect_conf = conf.conf.get('servprotect', {}) servprotect_conf = conf.conf.get('servprotect', {})
length = servprotect_conf.get('length', 5) length = servprotect_conf.get('length', 10)
age = servprotect_conf.get('age', 10) age = servprotect_conf.get('age', 10)
savecache = ExpiringDict(max_len=length, max_age_seconds=age) savecache = ExpiringDict(max_len=length, max_age_seconds=age)