diff --git a/prices/prices.service.ts b/prices/prices.service.ts index 2aed006..edbc207 100644 --- a/prices/prices.service.ts +++ b/prices/prices.service.ts @@ -195,6 +195,9 @@ export class PricesService { if (!price?.usd) { pricesQueryUpdateCountFailed += 1; + // bump timestamp on failure so we honour the 5-minute retry window + // instead of refetching on every block tick when a token has no price source + pricesQuery[addr] = { ...oldEntry, timestamp: Date.now() }; } else { pricesQuery[addr] = { ...erc,