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:
@@ -143,6 +143,8 @@ class BaseService {
|
||||
license: 3600,
|
||||
version: 300,
|
||||
debug: 60,
|
||||
downloads: 900,
|
||||
social: 900,
|
||||
}
|
||||
return cacheLengths[this.category]
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ module.exports = class TwitchStatus extends TwitchBase {
|
||||
},
|
||||
]
|
||||
|
||||
static _cacheLength = 30
|
||||
|
||||
static defaultBadgeData = {
|
||||
label: 'twitch',
|
||||
namedLogo: 'twitch',
|
||||
|
||||
Reference in New Issue
Block a user