Skip to content

Commit dc8256e

Browse files
committed
fix: restore the default connectTimeout to 10000
1 parent 9657213 commit dc8256e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Redis.defaultOptions = {
152152
port: 6379,
153153
host: 'localhost',
154154
family: 4,
155-
connectTimeout: 3000,
155+
connectTimeout: 10000,
156156
retryStrategy: function (times) {
157157
return Math.min(times * 50, 2000);
158158
},

0 commit comments

Comments
 (0)