Browse Source

force cluster false for pre-worker systems (issue #80)

v4
AJ ONeal 5 years ago
parent
commit
347402a4d4
  1. 2
      greenlock-express.js

2
greenlock-express.js

@ -17,7 +17,7 @@ var GLE = module.exports;
// under the hood. That's the hope, anyway.
GLE.init = function(fn) {
if (cluster.isWorker) {
if (false !== fn.cluster && cluster.isWorker) {
// ignore the init function and launch the worker
return require("./worker.js").create();
}

Loading…
Cancel
Save