memcache timeout parameter bug in get_info
container and account info currently never expires from cache due to a bug in get_info. Change-Id: Ia2b4dfa768d6017dd809cdd5f0568f4831f87ade
This commit is contained in:
parent
60cc7c0223
commit
8a8499805b
@ -311,7 +311,7 @@ def _set_info_cache(app, env, account, container, resp):
|
||||
else:
|
||||
info = headers_to_account_info(resp.headers, resp.status_int)
|
||||
if memcache:
|
||||
memcache.set(cache_key, info, cache_time)
|
||||
memcache.set(cache_key, info, time=cache_time)
|
||||
env[env_key] = info
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user