@@ -9,7 +9,7 @@ import runner from './utils/runner';
99const help = function ( ) {
1010 console . log ( ' Get Started guide:' ) ;
1111 console . log ( '' ) ;
12- console . log ( ' Please have a look at the get started guide!' )
12+ console . log ( ' Please have a look at the get started guide!' ) ;
1313 console . log ( ' https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide' ) ;
1414 console . log ( '' ) ;
1515 console . log ( '' ) ;
@@ -35,7 +35,7 @@ function startServer(options, callback) {
3535
3636 app . use ( options . mountPath , api ) ;
3737
38- var server = app . listen ( options . port , callback ) ;
38+ let server = app . listen ( options . port , callback ) ;
3939 server . on ( 'connection' , initializeConnections ) ;
4040
4141 if ( options . startLiveQueryServer || options . liveQueryServerOptions ) {
@@ -69,7 +69,7 @@ function startServer(options, callback) {
6969 }
7070 }
7171
72- var handleShutdown = function ( ) {
72+ let handleShutdown = function ( ) {
7373 console . log ( 'Termination signal received. Shutting down.' ) ;
7474 destroyAliveConnections ( ) ;
7575 server . close ( function ( ) {
@@ -112,7 +112,8 @@ runner({
112112 if ( options . cluster ) {
113113 const numCPUs = typeof options . cluster === 'number' ? options . cluster : os . cpus ( ) . length ;
114114 if ( cluster . isMaster ) {
115- for ( var i = 0 ; i < numCPUs ; i ++ ) {
115+ logOptions ( ) ;
116+ for ( let i = 0 ; i < numCPUs ; i ++ ) {
116117 cluster . fork ( ) ;
117118 }
118119 cluster . on ( 'exit' , ( worker , code ) => {
@@ -132,6 +133,6 @@ runner({
132133 } ) ;
133134 }
134135 }
135- } )
136+ } ) ;
136137
137138/* eslint-enable no-console */
0 commit comments