Skip to content

Commit

Permalink
feat(sentinel): allow connection to IPv6-only sentinels (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
tempname11 authored and luin committed May 18, 2017
1 parent fd9a729 commit a389f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/connectors/sentinel_connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ SentinelConnector.prototype.resolve = function (endpoint, callback) {
var client = new Redis({
port: endpoint.port || 26379,
host: endpoint.host,
family: endpoint.family || this.options.family,
retryStrategy: null,
enableReadyCheck: false,
connectTimeout: this.options.connectTimeout,
Expand Down

0 comments on commit a389f3c

Please sign in to comment.