lib/cache.py: fixed expiration time

v2
Igor Chubin 5 years ago
parent e1bd1bf4b4
commit 09e3d57b40

@ -77,7 +77,7 @@ def store(signature, value):
value_record = {
"val": value_to_store,
"expiry": time.time() + _randint(1000, 2000)*1000,
"expiry": time.time() + _randint(1000, 2000),
}
CACHE[signature] = value_record

Loading…
Cancel
Save