summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.py b/config.py
index 983cb6d..90dd9c9 100644
--- a/config.py
+++ b/config.py
@@ -140,6 +140,13 @@ conf.registerGlobalValue(SnoParser.whois, 'sample',
"""
, private=True
))
+conf.registerGlobalValue(SnoParser.whois, 'ttl',
+ registry.Integer('3600',
+ """
+ SnoParser: How long to cache WHOIS entries for.
+ """
+ , private=True
+))
conf.registerGroup(SnoParser.whois, 'redis')
conf.registerGlobalValue(SnoParser.whois.redis, 'db',
registry.Integer('0',