Skip to content

Commit

Permalink
cache [dockerpulls] badges for an hour
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Jul 1, 2023
1 parent c47f932 commit ecdbabf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/docker/docker-pulls.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default class DockerPulls extends BaseJsonService {
},
]

static _cacheLength = 3600

static defaultBadgeData = { label: 'docker pulls' }

static render({ count: downloads }) {
Expand Down

0 comments on commit ecdbabf

Please sign in to comment.