Skip to content

Commit d62a808

Browse files
authoredMar 30, 2022
fix: allow option maxRetriesPerRequest to be null (#1553)
Closes #1550
1 parent a84ffbe commit d62a808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/redis/RedisOptions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export interface CommonRedisOptions extends CommanderOptions {
8686
/**
8787
* @default 20
8888
*/
89-
maxRetriesPerRequest?: number;
89+
maxRetriesPerRequest?: number | null;
9090
/**
9191
* @default 10000
9292
*/

0 commit comments

Comments
 (0)
Please sign in to comment.