Skip to content

Commit

Permalink
fix: allow option maxRetriesPerRequest to be null (#1553)
Browse files Browse the repository at this point in the history
Closes #1550
  • Loading branch information
luin committed Mar 30, 2022
1 parent a84ffbe commit d62a808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis/RedisOptions.ts
Expand Up @@ -86,7 +86,7 @@ export interface CommonRedisOptions extends CommanderOptions {
/**
* @default 20
*/
maxRetriesPerRequest?: number;
maxRetriesPerRequest?: number | null;
/**
* @default 10000
*/
Expand Down

0 comments on commit d62a808

Please sign in to comment.