Skip to content

Commit

Permalink
Fix BullMQ deprecation warning (#8486)
Browse files Browse the repository at this point in the history
Related to #8470
  • Loading branch information
BOHEUS authored Nov 13, 2024
1 parent c98a8a2 commit d72068e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d72068e

Please sign in to comment.