@ -86,7 +86,9 @@ export class PortfolioSnapshotProcessor {
const expiration = addMilliseconds(
new Date(),
this.configurationService.get('CACHE_QUOTES_TTL')
snapshot.errors.length === 0
? this.configurationService.get('CACHE_QUOTES_TTL')
: 0
);
this.redisCacheService.set(