fix(processmonitor): Bump smartdaemon and stop aggressive pidusage cache clearing in ProcessMonitor

This commit is contained in:
2025-09-03 11:47:06 +00:00
parent f10a7847c2
commit 61c4aabba3
5 changed files with 77 additions and 62 deletions

View File

@@ -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 });
},
);