mirror of
https://github.com/chubin/wttr.in
synced 2024-11-15 00:27:09 +00:00
lib/cache.py: fixed expiration time
This commit is contained in:
parent
e1bd1bf4b4
commit
09e3d57b40
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue