redis-client-proxy
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -56,2 +56,5 @@ var _ = require('underscore'); | ||
this.client = (redis.createClient(serverInfo.port, serverInfo.host)); | ||
if (!!serverInfo.pass) { | ||
this.client.auth(serverInfo.pass); | ||
} | ||
this._attachHandlers(this.client); | ||
@@ -58,0 +61,0 @@ } catch(err) { |
{ | ||
"name": "redis-client-proxy", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "dependencies": { |
{ | ||
"development": [ | ||
{"host" : "pomelo.com", "port" : "6379","type":"master"}, | ||
{"host" : "pomelo.com", "port" : "6479","type":"slave"} | ||
{"host" : "127.0.0.1", "port" : "6379","type":"master"}, | ||
{"host" : "127.0.0.1", "port" : "6479","type":"slave"} | ||
], | ||
"production": [ | ||
{"host" : "pomelo4.server.163.org", "port" : "6379","type":"master"}, | ||
{"host" : "pomelo4.server.163.org", "port" : "6479","type":"slave"} | ||
{"host" : "127.0.0.1", "port" : "6379","type":"master"}, | ||
{"host" : "127.0.0.1", "port" : "6479","type":"slave"} | ||
] | ||
} |
9599
278