Skip to content

Commit

Permalink
deps: bump sysinfo (#12874)
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin authored Nov 26, 2024
1 parent 2840b6f commit b6d6bf5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 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 crates/storage/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ thiserror.workspace = true
tempfile = { workspace = true, optional = true }
derive_more.workspace = true
rustc-hash = { workspace = true, optional = true }
sysinfo = { version = "0.31", default-features = false, features = ["system"] }
sysinfo = { version = "0.32", default-features = false, features = ["system"] }
parking_lot = { workspace = true, optional = true }

# arbitrary utils
Expand Down
1 change: 1 addition & 0 deletions crates/storage/db/src/lockfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ impl ProcessUID {
let pid2 = sysinfo::Pid::from(pid);
system.refresh_processes_specifics(
sysinfo::ProcessesToUpdate::Some(&[pid2]),
true,
ProcessRefreshKind::new(),
);
system.process(pid2).map(|process| Self { pid, start_time: process.start_time() })
Expand Down

0 comments on commit b6d6bf5

Please sign in to comment.