Skip to content

Commit

Permalink
Merge pull request #294 from carlisliu/master
Browse files Browse the repository at this point in the history
crateRange is removed, should use range instead.
  • Loading branch information
kevin-greene-ck committed Sep 6, 2018
2 parents 8abd58f + 9cf36a0 commit 0f8a480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/memcached.js
Expand Up @@ -297,7 +297,7 @@ Client.config = {
server = this.servers[0];
} else {
if (redundancy && queryRedundancy) {
redundancy = this.HashRing.createRange(query.key, (this.redundancy + 1), true);
redundancy = this.HashRing.range(query.key, (this.redundancy + 1), true);
server = redundancy.shift();
} else {
server = this.HashRing.get(query.key);
Expand Down

0 comments on commit 0f8a480

Please sign in to comment.