Skip to content

Commit

Permalink
[minor] Depend on the latest jackpot, renamed the default_port to `…
Browse files Browse the repository at this point in the history
…default port` #208
  • Loading branch information
3rd-Eden committed Sep 22, 2014
1 parent d99a5a2 commit fb24704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/memcached.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function Client (args, options) {
this.servers = servers;
var compatibility = this.compatibility || this.compatiblity;
this.HashRing = new HashRing(args, this.algorithm, {
compatibility: compatibility,
default_port: (compatibility == 'ketama') ? 11211 : null
'compatibility': compatibility,
'default port': compatibility === 'ketama' ? 11211 : null
});
this.connections = {};
this.issues = [];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url": "http://github.com/3rd-Eden/node-memcached.git"
},
"dependencies": {
"hashring": "1.0.x",
"hashring": "3.0.x",
"jackpot": ">=0.0.6"
},
"devDependencies": {
Expand Down

0 comments on commit fb24704

Please sign in to comment.