increase max-age for download and social badges (#6567)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
chris48s
2021-06-02 17:28:00 +01:00
committed by GitHub
parent 4fa51257b2
commit 830bb15b58
2 changed files with 4 additions and 0 deletions

View File

@@ -143,6 +143,8 @@ class BaseService {
license: 3600,
version: 300,
debug: 60,
downloads: 900,
social: 900,
}
return cacheLengths[this.category]
}

View File

@@ -30,6 +30,8 @@ module.exports = class TwitchStatus extends TwitchBase {
},
]
static _cacheLength = 30
static defaultBadgeData = {
label: 'twitch',
namedLogo: 'twitch',