[seiga] reduce cache maxage to one week

This commit is contained in:
Mike Fährmann
2017-04-24 15:25:20 +02:00
parent 4332694492
commit 82ab1fca07

View File

@@ -51,7 +51,7 @@ class SeigaExtractor(Extractor):
password = config.interpolate(("extractor", self.category, "password"))
self.session.cookies = self._login_impl(username, password)
@cache(maxage=30*24*60*60, keyarg=1)
@cache(maxage=7*24*60*60, keyarg=1)
def _login_impl(self, username, password):
"""Actual login implementation"""
self.log.info("Logging in as %s", username)