lib/cache.py: fixed expiration time

This commit is contained in:
Igor Chubin 2020-05-07 23:41:13 +02:00
parent e1bd1bf4b4
commit 09e3d57b40

View file

@ -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