lib/main.js
function(settings, callback) {
    "use strict";

    if (typeof settings === 'function') {
      callback = settings;
      settings = {};
    }

    if (typeof settings === 'undefined') {
      settings = {};
    }

    if (typeof callback !== 'function') {
      callback = function () {};
    }

    getLogFiles(function () {
      parseOptions(settings, function () {
        setupLogger();

        require('./Logger').verbose('Starting worker manager');

        // Start the Master
        master = require('./master');

        registerListeners(master);

        master.start();

        callback();
      });
    });
  }
function(settings, callback) {
    "use strict";

    if (typeof settings === 'function') {
      callback = settings;
      settings = {};
    }

    if (typeof settings === 'undefined') {
      settings = {};
    }

    if (typeof callback !== 'function') {
      callback = function () {};
    }

    getLogFiles(function () {
      parseOptions(settings, function () {
        setupLogger();

        require('./Logger').verbose('Starting worker manager');

        // Start the Master
        master = require('./master');

        registerListeners(master);

        master.start();

        callback();
      });
    });
  }
function ( settings , callback ) { "use strict" ; if ( typeof settings === 'function' ) { callback = settings ; settings = { } ; } if ( typeof settings === 'undefined' ) { settings = { } ; } if ( typeof callback !== 'function' ) { callback = function ( ) { } ; } getLogFiles ( function ( ) { parseOptions ( settings , function ( ) { setupLogger ( ) ; require ( './Logger' ) . verbose ( 'Starting worker manager' ) ; // Start the Master master = require ( './master' ) ; registerListeners ( master ) ; master . start ( ) ; callback ( ) ; } ) ; } ) ; }
Start the Worker Manager

@param [settings={}]
@param [callback=function]
Start the Worker Manager