Skip to content

Commit a389f3c

Browse files
tempname11luin
authored andcommittedMay 18, 2017
feat(sentinel): allow connection to IPv6-only sentinels (#463)
1 parent fd9a729 commit a389f3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/connectors/sentinel_connector.js

+1
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ SentinelConnector.prototype.resolve = function (endpoint, callback) {
226226
var client = new Redis({
227227
port: endpoint.port || 26379,
228228
host: endpoint.host,
229+
family: endpoint.family || this.options.family,
229230
retryStrategy: null,
230231
enableReadyCheck: false,
231232
connectTimeout: this.options.connectTimeout,

0 commit comments

Comments
 (0)