From d734fc3280b671e555dd68f08f656750ba540b74 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 3 Aug 2017 10:10:28 -0700 Subject: [PATCH] servprotect: bump default conf up to 10 hits/10 seconds --- plugins/servprotect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/servprotect.py b/plugins/servprotect.py index 12ca2a7..4adab69 100644 --- a/plugins/servprotect.py +++ b/plugins/servprotect.py @@ -6,7 +6,7 @@ from pylinkirc.log import log # check for definitions servprotect_conf = conf.conf.get('servprotect', {}) -length = servprotect_conf.get('length', 5) +length = servprotect_conf.get('length', 10) age = servprotect_conf.get('age', 10) savecache = ExpiringDict(max_len=length, max_age_seconds=age)