Commit 95aadf02 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix bug: expiration time to low

parent 730fd9f0
......@@ -73,7 +73,7 @@ def cache_entries(cache, entries):
expiration_time = 86400 # one day
for e in entries:
logger.debug('Caching {}'.format(e['id']))
cache.set(e['id'], e, expire=30)
cache.set(e['id'], e, expire=expiration_time)
def find_cached_entries(cache, dbxrefs):
cached = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment