Skip to content

Commit

Permalink
increase max-age for download and social badges (#6567)
Browse files Browse the repository at this point in the history
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
  • Loading branch information
chris48s and repo-ranger[bot] committed Jun 2, 2021
1 parent 4fa5125 commit 830bb15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/base-service/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ class BaseService {
license: 3600,
version: 300,
debug: 60,
downloads: 900,
social: 900,
}
return cacheLengths[this.category]
}
Expand Down
2 changes: 2 additions & 0 deletions services/twitch/twitch.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ module.exports = class TwitchStatus extends TwitchBase {
},
]

static _cacheLength = 30

static defaultBadgeData = {
label: 'twitch',
namedLogo: 'twitch',
Expand Down

0 comments on commit 830bb15

Please sign in to comment.