v1.0.3
This commit is contained in:
parent
1fbd2a4b71
commit
b85545a8cc
@ -96,7 +96,7 @@ module.exports.create = function (opts) {
|
|||||||
opts._promise.addWorker = function (w) {
|
opts._promise.addWorker = function (w) {
|
||||||
if (!init) {
|
if (!init) {
|
||||||
init = true;
|
init = true;
|
||||||
setup();
|
setup(opts);
|
||||||
}
|
}
|
||||||
return opts.master.addWorker(w);
|
return opts.master.addWorker(w);
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cluster-rpc",
|
"name": "cluster-rpc",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "A simple way to wrap a single-instance module to enable it to work with node cluster.",
|
"description": "A simple way to wrap a single-instance module to enable it to work with node cluster.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user