File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ using the `retryStrategy` option:
504
504
var redis = new Redis ({
505
505
// This is the default value of `retryStrategy`
506
506
retryStrategy : function (times ) {
507
- var delay = Math .min (times * 2 , 2000 );
507
+ var delay = Math .min (times * 50 , 2000 );
508
508
return delay;
509
509
}
510
510
});
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ Redis.defaultOptions = {
154
154
family : 4 ,
155
155
connectTimeout : 3000 ,
156
156
retryStrategy : function ( times ) {
157
- return Math . min ( times * 2 , 2000 ) ;
157
+ return Math . min ( times * 50 , 2000 ) ;
158
158
} ,
159
159
keepAlive : 0 ,
160
160
noDelay : true ,
Original file line number Diff line number Diff line change 33
33
"flexbuffer" : " 0.0.6" ,
34
34
"lodash" : " ^4.8.2" ,
35
35
"redis-commands" : " ^1.2.0" ,
36
- "redis-parser" : " ^2.3 .0"
36
+ "redis-parser" : " ^2.4 .0"
37
37
},
38
38
"devDependencies" : {
39
39
"chai" : " ^3.5.0" ,
You can’t perform that action at this time.
0 commit comments