summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/oauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/oauth.py')
-rw-r--r--gallery_dl/extractor/oauth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/oauth.py b/gallery_dl/extractor/oauth.py
index 65db94d..1690160 100644
--- a/gallery_dl/extractor/oauth.py
+++ b/gallery_dl/extractor/oauth.py
@@ -376,7 +376,7 @@ class OAuthMastodon(OAuthBase):
cache=mastodon._access_token_cache,
)
- @cache(maxage=10*365*24*3600, keyarg=1)
+ @cache(maxage=36500*86400, keyarg=1)
def _register(self, instance):
self.log.info("Registering application for '%s'", instance)