File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11const log = require ( './src/log' ) ;
22const { setupApp } = require ( './src/app' ) ;
33const config = require ( 'config' ) ;
4- const { createLightship } = require ( 'lightship' ) ;
4+ // const { createLightship } = require('lightship');
55const cluster = require ( 'cluster' ) ;
66const CPUs = require ( 'os' ) . cpus ( ) . length ;
77
88log . info ( 'CPUs available' , CPUs ) ;
99
10- const ls = createLightship ( ) ;
10+ // const ls = createLightship();
1111
1212if ( config . get ( 'App.cluster.enabled' ) && cluster . isMaster ) {
1313 log . info ( `Master ${ process . pid } is running` ) ;
@@ -25,7 +25,7 @@ if(config.get('App.cluster.enabled') && cluster.isMaster) {
2525 log . info ( `Worker ${ process . pid } started` ) ;
2626 return app ;
2727 } )
28- . then ( ( ) => ls . signalReady ( ) )
28+ // .then(() => ls.signalReady())
2929 . catch ( error => {
3030 log . error ( error ) ;
3131 process . exit ( 1 ) ; // eslint-disable-line
You can’t perform that action at this time.
0 commit comments