mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-10 14:06:43 +00:00
Fix VolatileState
This commit is contained in:
parent
fe955668eb
commit
266f8642fb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user