Skip to content

Commit 14f157b

Browse files
committed
deps(memory-connection-limits): update sysinfo to 0.33
1 parent c8c1b80 commit 14f157b

File tree

3 files changed

+96
-37
lines changed

3 files changed

+96
-37
lines changed

Cargo.lock

Lines changed: 94 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

misc/memory-connection-limits/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ memory-stats = { version = "1", features = ["always_use_statm"] }
1414
libp2p-core = { workspace = true }
1515
libp2p-swarm = { workspace = true }
1616
libp2p-identity = { workspace = true, features = ["peerid"] }
17-
sysinfo = "0.30"
17+
sysinfo = "0.33"
1818
tracing = { workspace = true }
1919

2020
[dev-dependencies]

misc/memory-connection-limits/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl Behaviour {
100100
use sysinfo::{RefreshKind, System};
101101

102102
let system_memory_bytes = System::new_with_specifics(
103-
RefreshKind::new().with_memory(MemoryRefreshKind::new().with_ram()),
103+
RefreshKind::nothing().with_memory(MemoryRefreshKind::nothing().with_ram()),
104104
)
105105
.total_memory();
106106

0 commit comments

Comments
 (0)