1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 19:51:34 +01:00

[koharu] reduce login cache expiration to 24h (#5893)

This commit is contained in:
Mike Fährmann 2024-08-02 09:20:33 +02:00
parent 9be7896f78
commit d9ff862fbd
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -209,7 +209,7 @@ class KoharuFavoriteExtractor(KoharuExtractor):
raise exception.AuthenticationError("Username and password required")
@cache(maxage=28*86400, keyarg=1)
@cache(maxage=86400, keyarg=1)
def _login_impl(self, username, password):
self.log.info("Logging in as %s", username)