Is it should use Array.prototype.push.call instead of Array.prototype.apply?
usage:
hashring.addServer('127.0.0.1:8080');
error:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Function.prototype.apply: Arguments list has wrong type
at Function.APPLY_PREPARE (native)
at hashRing.addServer (/home/node/local/lib/node_modules/hashring/lib/hashring.js:201:24)
Is it should use Array.prototype.push.call instead of Array.prototype.apply?
usage: hashring.addServer('127.0.0.1:8080');
error: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ TypeError: Function.prototype.apply: Arguments list has wrong type at Function.APPLY_PREPARE (native) at hashRing.addServer (/home/node/local/lib/node_modules/hashring/lib/hashring.js:201:24)