replace '24*3600' with '86400'
and generalize cache maxage values
This commit is contained in:
@@ -138,6 +138,6 @@ class OAuth1API():
|
||||
return self.extractor.request(url, **kwargs)
|
||||
|
||||
|
||||
@cache(maxage=100*365*24*3600, keyarg=0)
|
||||
@cache(maxage=36500*86400, keyarg=0)
|
||||
def _token_cache(key):
|
||||
return None, None
|
||||
|
||||
Reference in New Issue
Block a user