From 142c3ea17dfc217056b54f5605b293dc1d0c93b3 Mon Sep 17 00:00:00 2001 From: Vladimir Semyonov Date: Wed, 17 May 2017 17:23:53 +0300 Subject: [PATCH] pass family when connecting to sentinels --- lib/connectors/sentinel_connector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connectors/sentinel_connector.js b/lib/connectors/sentinel_connector.js index 161d3677..9309346d 100644 --- a/lib/connectors/sentinel_connector.js +++ b/lib/connectors/sentinel_connector.js @@ -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,