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) {
|
||||
if (!init) {
|
||||
init = true;
|
||||
setup();
|
||||
setup(opts);
|
||||
}
|
||||
return opts.master.addWorker(w);
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"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.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user