cluster-balancer
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -15,3 +15,3 @@ 'use strict'; | ||
function RedisInterface(options) { | ||
if (!options.url) { | ||
if (!options.redisInstance && !options.url) { | ||
throw new Error('Invald Redis url: ' + options.url); | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "cluster-balancer", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "autonomously balance load across a cluster using zookeeper or redis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
39903