Bumping version to 0.0.7, exposing loggers, minor bug fixes, cluster connection (wip)

This commit is contained in:
Nicolas Dextraze
2016-10-20 04:40:46 -07:00
parent f951a625f4
commit 830a317f0d
6 changed files with 51 additions and 8 deletions

View File

@ -34,7 +34,8 @@ function setUp(cb) {
settings.log.error(error, "Connection to %j failed.", tcpEndPoint);
cb(error);
});
this.conn.on('connected', function () {
this.conn.on('connected', function (tcpEndPoint) {
if (connected) return;
settings.log.debug("Connected to %j.", tcpEndPoint);
connected = true;
cb();