Skip to content

Commit

Permalink
fix: restore the default connectTimeout to 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed May 3, 2017
1 parent 9657213 commit dc8256e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Redis.defaultOptions = {
port: 6379,
host: 'localhost',
family: 4,
connectTimeout: 3000,
connectTimeout: 10000,
retryStrategy: function (times) {
return Math.min(times * 50, 2000);
},
Expand Down

0 comments on commit dc8256e

Please sign in to comment.