Skip to content

Commit

Permalink
Fix BullMQ deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BOHEUS committed Nov 13, 2024
1 parent 898006f commit 4d17686
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 4d17686

Please sign in to comment.