Closed pselden closed 11 years ago
It currently uses 'weigth' instead of 'weight' when reading the property from the args object so it will be undefined if your arguments look like : new HashRing({ 'servername' : { weight: 20 } });
Thanks a lot for the pull request!
It currently uses 'weigth' instead of 'weight' when reading the property from the args object so it will be undefined if your arguments look like : new HashRing({ 'servername' : { weight: 20 } });