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:
Michael Barton 2013-08-13 15:54:19 -07:00
parent 60cc7c0223
commit 8a8499805b
1 changed files with 1 additions and 1 deletions

View File

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