replace '24*3600' with '86400'
and generalize cache maxage values
This commit is contained in:
@@ -360,7 +360,7 @@ class InkbunnyAPI():
|
||||
params["page"] += 1
|
||||
|
||||
|
||||
@cache(maxage=360*24*3600, keyarg=1)
|
||||
@cache(maxage=365*86400, keyarg=1)
|
||||
def _authenticate_impl(api, username, password):
|
||||
api.extractor.log.info("Logging in as %s", username)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user