Fix VolatileState

This commit is contained in:
2020-08-12 18:11:46 -04:00
parent fe955668eb
commit 266f8642fb
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class VolatileState:
def __init__(self, prefix, ttl=3600, **redis_args):
self.rdb = redis.Redis(**redis_args)
self.prefix = prefix
self.ttl = 3600
self.ttl = ttl
def __getitem__(self, table):
return RedisTable(self, table)