@@ -119,7 +119,7 @@ export async function killProcess(
119119 const timeoutTime = 1000 * 10 ;
120120 await new Promise < void > ( ( res , rej ) => {
121121 let timeout = setTimeout ( ( ) => {
122- ilog ( 'killProcess: timeout triggered, trying SIGKILL' ) ;
122+ ilog ( 'timeout triggered, trying SIGKILL' ) ;
123123
124124 if ( ! debug . enabled ( 'MongoMS:utils' ) ) {
125125 console . warn (
@@ -130,16 +130,16 @@ export async function killProcess(
130130
131131 childprocess . kill ( 'SIGKILL' ) ;
132132 timeout = setTimeout ( ( ) => {
133- ilog ( 'killProcess: timeout triggered again, rejecting' ) ;
133+ ilog ( 'timeout triggered again, rejecting' ) ;
134134 rej ( new Error ( `Process "${ name } " didnt exit, enable debug for more information.` ) ) ;
135135 } , timeoutTime ) ;
136136 } , timeoutTime ) ;
137137 childprocess . once ( `exit` , ( code , signal ) => {
138- ilog ( `killProcess: ${ name } : got exit signal, Code: ${ code } , Signal: ${ signal } ` ) ;
138+ ilog ( `${ name } : got exit signal, Code: ${ code } , Signal: ${ signal } ` ) ;
139139 clearTimeout ( timeout ) ;
140140 res ( ) ;
141141 } ) ;
142- ilog ( `killProcess: ${ name } : sending "SIGINT"` ) ;
142+ ilog ( `${ name } : sending "SIGINT"` ) ;
143143 childprocess . kill ( 'SIGINT' ) ;
144144 } ) ;
145145}
0 commit comments