Comparing version 1.0.0 to 2.0.0
@@ -62,4 +62,6 @@ "use strict"; | ||
this.servers = servers; | ||
var compatibility = this.compatibility || this.compatiblity; | ||
this.HashRing = new HashRing(args, this.algorithm, { | ||
compatiblity: this.compatiblity | ||
'compatibility': compatibility, | ||
'default port': compatibility === 'ketama' ? 11211 : null | ||
}); | ||
@@ -78,3 +80,3 @@ this.connections = {}; | ||
, algorithm: 'md5' // hashing algorithm that is used for key mapping | ||
, compatiblity: 'ketama' // hashring compatiblity | ||
, compatibility: 'ketama' // hashring compatibility | ||
@@ -81,0 +83,0 @@ , poolSize: 10 // maximal parallel connections |
{ | ||
"name": "memcached", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"author": "Arnout Kazemier", | ||
@@ -26,3 +26,3 @@ "description": "A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future.", | ||
"dependencies": { | ||
"hashring": "1.0.x", | ||
"hashring": "3.0.x", | ||
"jackpot": ">=0.0.6" | ||
@@ -29,0 +29,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433290
3129
+ Addedbindings@1.2.1(transitive)
+ Addedhashring@3.0.0(transitive)
+ Addednan@1.3.0(transitive)
- Removedbindings@1.1.1(transitive)
- Removedhashring@1.0.3(transitive)
- Removednan@0.3.2(transitive)
Updatedhashring@3.0.x