Skip to content

Commit

Permalink
fix: cache Docker tags 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 3, 2021
1 parent 03dae5a commit 7519b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datasource/docker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ async function getTags(
url = linkHeader?.next ? URL.resolve(url, linkHeader.next.url) : null;
page += 1;
} while (url && page < 20);
const cacheMinutes = 15;
const cacheMinutes = 30;
await packageCache.set(cacheNamespace, cacheKey, tags, cacheMinutes);
return tags;
} catch (err) /* istanbul ignore next */ {
Expand Down

0 comments on commit 7519b76

Please sign in to comment.