ProcessesToUpdate::All enum

This commit is contained in:
jasonwitty 2025-08-27 16:20:55 -07:00
parent ca6a5cbdfa
commit 2fe005ed90

View File

@ -448,11 +448,7 @@ pub async fn collect_processes_all(state: &AppState) -> ProcessesPayload {
// Only do a deep refresh if system load is significant
if load > 5.0 {
let kind = ProcessRefreshKind::nothing().with_cpu().with_memory();
sys.refresh_processes_specifics(
ProcessesToUpdate::All,
false,
kind,
);
sys.refresh_processes_specifics(ProcessesToUpdate::All, false, kind);
}
sys.refresh_cpu_usage();