diff options
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -74,14 +74,14 @@ conf.registerGlobalValue(SnoParser, 'debug', ### conf.registerGroup(SnoParser, 'redis') conf.registerGlobalValue(SnoParser.redis, 'db1', - registry.Integer('1', + registry.Integer(1, """ Redis: Database number for counting of NICKNAMES. """ , private=True )) conf.registerGlobalValue(SnoParser.redis, 'db2', - registry.Integer('2', + registry.Integer(2, """ Redis: Database number for counting of IP ADDRESSES. """ @@ -95,7 +95,7 @@ conf.registerGlobalValue(SnoParser.redis, 'host', , private=True )) conf.registerGlobalValue(SnoParser.redis, 'port', - registry.Integer('6379', + registry.Integer(6379, """ Redis: Port. """ @@ -115,7 +115,7 @@ conf.registerGlobalValue(SnoParser.redis, 'password', """ )) conf.registerGlobalValue(SnoParser.redis, 'timeout', - registry.Integer('5', + registry.Integer(5, """ Redis: Socket Timeout. The developer does not know what to recommend here, but `5` seems to yield good results. """ @@ -141,7 +141,7 @@ conf.registerGlobalValue(SnoParser.whois, 'sample', , private=True )) conf.registerGlobalValue(SnoParser.whois, 'ttl', - registry.Integer('3600', + registry.Integer(3600, """ SnoParser: How long to cache WHOIS entries for. """ @@ -149,7 +149,7 @@ conf.registerGlobalValue(SnoParser.whois, 'ttl', )) conf.registerGroup(SnoParser.whois, 'redis') conf.registerGlobalValue(SnoParser.whois.redis, 'db', - registry.Integer('0', + registry.Integer(0, """ Redis: Database number for WHOIS query caching. """ |
