cluster-client
Advanced tools
Comparing version 1.5.0 to 1.5.1
1.5.1 / 2017-03-13 | ||
================== | ||
* fix: don't auto ready when initMethod exists (#17) | ||
1.5.0 / 2017-03-10 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -21,5 +21,8 @@ 'use strict'; | ||
utils.delegateEvents(this._client, this); | ||
this._client.ready(err => { | ||
this.ready(err ? err : true); | ||
}); | ||
if (!options.initMethod) { | ||
this._client.ready(err => { | ||
this.ready(err ? err : true); | ||
}); | ||
} | ||
} | ||
@@ -26,0 +29,0 @@ |
{ | ||
"name": "cluster-client", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Sharing Connection among Multi-Process Nodejs", | ||
@@ -35,3 +35,3 @@ "main": "./index.js", | ||
"co": "^4.6.0", | ||
"debug": "^2.6.1", | ||
"debug": "^2.6.2", | ||
"is-type-of": "^1.0.0", | ||
@@ -52,3 +52,3 @@ "json-stringify-safe": "^5.0.1", | ||
"egg": "^0.5.0", | ||
"egg-bin": "^2.2.3", | ||
"egg-bin": "^2.4.0", | ||
"egg-ci": "^1.5.0", | ||
@@ -55,0 +55,0 @@ "egg-mock": "^3.1.2", |
64680
1672
Updateddebug@^2.6.2