Skip to content

Commit

Permalink
Fix non-backwards compatible change
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Dec 10, 2024
1 parent b5d8b01 commit 094ff42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 094ff42

Please sign in to comment.