Skip to content

Commit

Permalink
Merge pull request #447 from spacemeshos/dependabot/cargo/sysinfo-0.33.0
Browse files Browse the repository at this point in the history
build(deps): bump sysinfo from 0.32.1 to 0.33.0
  • Loading branch information
fasmat authored Dec 10, 2024
2 parents b794d83 + e8d0b44 commit 175cc79
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env_logger = "0.11.5"
clap = { version = "4.5.23", features = ["derive"] }
hex = "0.4.3"
mockall = "0.13.1"
sysinfo = "0.32.1"
sysinfo = "0.33.0"
axum = "0.7.9"
serde = { version = "1.0.215", features = ["derive"] }
range-set = "0.0.11"
Expand Down
6 changes: 5 additions & 1 deletion service/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,11 @@ 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 175cc79

Please sign in to comment.