diff --git a/socktop_agent/src/metrics.rs b/socktop_agent/src/metrics.rs index 3b2b7a7..6404c04 100644 --- a/socktop_agent/src/metrics.rs +++ b/socktop_agent/src/metrics.rs @@ -449,7 +449,7 @@ pub async fn collect_processes_all(state: &AppState) -> ProcessesPayload { if load > 5.0 { let kind = ProcessRefreshKind::nothing().with_cpu().with_memory(); sys.refresh_processes_specifics( - ProcessesToUpdate::default().with_cpu_usage_higher_than(cpu_threshold), + ProcessesToUpdate::All, false, kind, );