mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 00:56:26 +00:00
chore: debug log cache revalidation
This commit is contained in:
parent
52700690a5
commit
9720ca8d3c
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ export async function getDependency(
|
||||||
}
|
}
|
||||||
const raw = await http.getJson<NpmResponse>(packageUrl, options);
|
const raw = await http.getJson<NpmResponse>(packageUrl, options);
|
||||||
if (cachedResult?.cacheData && raw.statusCode === 304) {
|
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;
|
cachedResult.cacheData.softExpireAt = softExpireAt;
|
||||||
await packageCache.set(
|
await packageCache.set(
|
||||||
cacheNamespace,
|
cacheNamespace,
|
||||||
|
|
Loading…
Reference in a new issue