How to use the egg-cluster.startCluster function in egg-cluster

To help you get started, we’ve selected a few egg-cluster examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github eggjs / egg / lib / cluster / index.js View on Github external
module.exports = (options = {}, callback) => {
  /* istanbul ignore next */
  options.customEgg = options.customEgg || path.join(__dirname, '../..');
  startCluster(options, callback);
};

egg-cluster

cluster manager for egg

MIT
Latest version published 6 months ago

Package Health Score

76 / 100
Full package analysis

Popular egg-cluster functions