diff --git a/swift/proxy/controllers/base.py b/swift/proxy/controllers/base.py index 8973fea22f..821cc65df5 100644 --- a/swift/proxy/controllers/base.py +++ b/swift/proxy/controllers/base.py @@ -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