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 {
101
101
102
102
private async checkProcessUsage ( pid : number ) : Promise < void > {
103
103
if ( ! this . #pids. has ( pid ) ) {
104
- ChildProcessTracker . logger . warn ( `ChildProcess: Missing process with id ${ pid } ` )
104
+ ChildProcessTracker . logger . warn ( `Missing process with id ${ pid } ` )
105
105
return
106
106
}
107
107
const stats = await this . getUsage ( pid )
@@ -113,7 +113,7 @@ export class ChildProcessTracker {
113
113
)
114
114
}
115
115
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 } ` )
117
117
}
118
118
}
119
119
}
@@ -186,7 +186,7 @@ export class ChildProcessTracker {
186
186
// isWin() leads to circular dependency.
187
187
return process . platform === 'win32' ? getWindowsUsage ( ) : getUnixUsage ( )
188
188
} 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 } ` )
190
190
return { cpu : 0 , memory : 0 }
191
191
}
192
192
}
You can’t perform that action at this time.
0 commit comments