increase cache to 60

This commit is contained in:
j 2016-01-05 20:42:25 +05:30
parent c54dd8b853
commit 86b6f47c9f
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import time
class Cache(dict):
def __init__(self, ttl=60):
def __init__(self, ttl=10):
self._ttl = ttl
self._added = {}

View file

@ -103,7 +103,7 @@ def run():
pid.write('%s' % os.getpid())
state.main = IOLoop.instance()
state.cache = Cache(ttl=10)
state.cache = Cache(ttl=60)
state.tasks = tasks.Tasks()
def start_node():