fix(processmonitor): Bump smartdaemon and stop aggressive pidusage cache clearing in ProcessMonitor
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tspm',
|
||||
version: '5.10.1',
|
||||
version: '5.10.2',
|
||||
description: 'a no fuzz process manager'
|
||||
}
|
||||
|
@@ -448,13 +448,6 @@ export class ProcessMonitor extends EventEmitter {
|
||||
`Total memory for process group: ${this.humanReadableBytes(totalMemory)}`,
|
||||
);
|
||||
|
||||
// Clear pidusage cache for all PIDs to prevent memory leaks
|
||||
for (const pid of pids) {
|
||||
try {
|
||||
(plugins.pidusage as any)?.clear?.(pid);
|
||||
} catch {}
|
||||
}
|
||||
|
||||
resolve({ memory: totalMemory, cpu: totalCpu });
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user