File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/src/shared/utilities Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export class ChildProcessTracker {
101101
102102 private async checkProcessUsage ( pid : number ) : Promise < void > {
103103 if ( ! this . #pids. has ( pid ) ) {
104- ChildProcessTracker . logger . warn ( `ChildProcess: Missing process with id ${ pid } ` )
104+ ChildProcessTracker . logger . warn ( `Missing process with id ${ pid } ` )
105105 return
106106 }
107107 const stats = await this . getUsage ( pid )
@@ -113,7 +113,7 @@ export class ChildProcessTracker {
113113 )
114114 }
115115 if ( stats . cpu > ChildProcessTracker . thresholds . cpu ) {
116- ChildProcessTracker . logger . warn ( `ChildProcess: Process ${ pid } exceeded cpu threshold: ${ stats . cpu } ` )
116+ ChildProcessTracker . logger . warn ( `Process ${ pid } exceeded cpu threshold: ${ stats . cpu } ` )
117117 }
118118 }
119119 }
@@ -186,7 +186,7 @@ export class ChildProcessTracker {
186186 // isWin() leads to circular dependency.
187187 return process . platform === 'win32' ? getWindowsUsage ( ) : getUnixUsage ( )
188188 } catch ( e ) {
189- ChildProcessTracker . logger . warn ( `ChildProcess: Failed to get process stats for ${ pid } : ${ e } ` )
189+ ChildProcessTracker . logger . warn ( `Failed to get process stats for ${ pid } : ${ e } ` )
190190 return { cpu : 0 , memory : 0 }
191191 }
192192 }
You can’t perform that action at this time.
0 commit comments