From ca6a5cbdfa5e61ff9dab2c2c99f5a1090571d6d2 Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Wed, 27 Aug 2025 16:20:41 -0700 Subject: [PATCH] use ProcessesToUpdate::All ENUM --- socktop_agent/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, );