use ProcessesToUpdate::All ENUM
This commit is contained in:
parent
56301d61fd
commit
ca6a5cbdfa
@ -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,
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user