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:
1 changed files with 1 additions and 1 deletions
@@ -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
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.