Skip to content

Commit

Permalink
cache OpenCollective badges for longer
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Jul 15, 2023
1 parent 2dc4e2f commit 346bb30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/opencollective/opencollective-all.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default class OpencollectiveAll extends OpencollectiveBase {
},
]

static _cacheLength = 900

static defaultBadgeData = {
label: 'backers and sponsors',
}
Expand Down
2 changes: 2 additions & 0 deletions services/opencollective/opencollective-backers.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default class OpencollectiveBackers extends OpencollectiveBase {
},
]

static _cacheLength = 900

static defaultBadgeData = {
label: 'backers',
}
Expand Down
2 changes: 2 additions & 0 deletions services/opencollective/opencollective-sponsors.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default class OpencollectiveSponsors extends OpencollectiveBase {
},
]

static _cacheLength = 900

static defaultBadgeData = {
label: 'sponsors',
}
Expand Down

0 comments on commit 346bb30

Please sign in to comment.