From b85545a8cca8bab03862c8bc06e0f8a82f5649fd Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 8 Sep 2016 17:50:42 -0600 Subject: [PATCH] v1.0.3 --- master.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/master.js b/master.js index 53edbe4..896dd07 100644 --- a/master.js +++ b/master.js @@ -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); }; diff --git a/package.json b/package.json index 3423313..04a2b37 100644 --- a/package.json +++ b/package.json @@ -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": {