@redis/client
Advanced tools
Comparing version 1.5.15 to 1.5.16
@@ -177,6 +177,6 @@ "use strict"; | ||
}, _RedisClusterSlots_discover = async function _RedisClusterSlots_discover(rootNode) { | ||
__classPrivateFieldGet(this, _RedisClusterSlots_instances, "m", _RedisClusterSlots_resetSlots).call(this); | ||
const addressesInUse = new Set(); | ||
try { | ||
const shards = await __classPrivateFieldGet(this, _RedisClusterSlots_instances, "m", _RedisClusterSlots_getShards).call(this, rootNode), promises = [], eagerConnect = __classPrivateFieldGet(this, _RedisClusterSlots_options, "f").minimizeConnections !== true; | ||
__classPrivateFieldGet(this, _RedisClusterSlots_instances, "m", _RedisClusterSlots_resetSlots).call(this); | ||
for (const { from, to, master, replicas } of shards) { | ||
@@ -183,0 +183,0 @@ const shard = { |
{ | ||
"name": "@redis/client", | ||
"version": "1.5.13", | ||
"version": "1.5.15", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
{ | ||
"name": "@redis/client", | ||
"version": "1.5.15", | ||
"version": "1.5.16", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
598576