From 094ff420f7b72e4e579444ea540f29a381ce654a Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:51:56 +0000 Subject: [PATCH] Fix non-backwards compatible change --- service/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main.rs b/service/src/main.rs index b5e632a2..0dc5ac46 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -337,7 +337,7 @@ fn watch_pid(pid: Pid, interval: Duration, mut term: Receiver<()>) { let mut sys = System::new(); loop { - sys.refresh_processes_specifics(ProcessesToUpdate::All, true, ProcessRefreshKind::new()); + sys.refresh_processes_specifics(ProcessesToUpdate::All, true, ProcessRefreshKind::nothing()); match sys.process(pid) { None => { log::info!("PID {pid} not found");