Fix BullMQ deprecation warning (#8486)

Related to #8470
This commit is contained in:
BOHEUS
2024-11-13 18:38:29 +00:00
committed by GitHub
parent c98a8a2258
commit d72068eb99

View File

@@ -18,7 +18,9 @@ export class RedisClientService implements OnModuleDestroy {
throw new Error('REDIS_URL must be defined');
}
this.redisClient = new IORedis(redisUrl);
this.redisClient = new IORedis(redisUrl, {
maxRetriesPerRequest: null,
});
}
return this.redisClient;