Skip to content

Commit

Permalink
chore: debug log cache revalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 14, 2023
1 parent 5270069 commit 9720ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/npm/get.ts
Expand Up @@ -104,7 +104,7 @@ export async function getDependency(
}
const raw = await http.getJson<NpmResponse>(packageUrl, options);
if (cachedResult?.cacheData && raw.statusCode === 304) {
logger.trace('Cached data is unchanged and can be reused');
logger.debug({ packageName }, 'Cached npm result is revalidated');
cachedResult.cacheData.softExpireAt = softExpireAt;
await packageCache.set(
cacheNamespace,
Expand Down

0 comments on commit 9720ca8

Please sign in to comment.