Merge "Remove 60 secs subtraction from item_expires"

This commit is contained in:
Jenkins 2015-11-20 08:16:41 +00:00 committed by Gerrit Code Review
commit 760fe6017b

View File

@ -1447,7 +1447,7 @@ class Swauth(object):
TRUE_VALUES:
self.itoken = '%sitk%s' % (self.reseller_prefix, uuid4().hex)
memcache_key = '%s/auth/%s' % (self.reseller_prefix, self.itoken)
self.itoken_expires = time() + self.token_life - 60
self.itoken_expires = time() + self.token_life
memcache_client = cache_from_env(env)
if not memcache_client:
raise Exception(