Skip to content

Commit

Permalink
server: Update sysinfo dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
SplittyDev committed Apr 23, 2024
1 parent 3baf7be commit 5165130
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 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 hdrop-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ s3 = { version = "0.37", package = "zitane-s3-async" }
metrics-exporter-prometheus = "0.14"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing = "0.1.40"
sysinfo = "0.30"

chrono.workspace = true
uuid.workspace = true
Expand All @@ -28,4 +29,3 @@ metrics.workspace = true

hdrop-db.workspace = true
hdrop-shared.workspace = true
sysinfo = "0.29.3"
2 changes: 1 addition & 1 deletion hdrop-server/src/core/metrics/monitoring.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use sysinfo::{CpuExt, System, SystemExt};
use sysinfo::System;

/// Agnostic status struct for any limited resource.
pub struct Status {
Expand Down

0 comments on commit 5165130

Please sign in to comment.