diff options
| author | tv <tv@krebsco.de> | 2026-10-26 05:21:49 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 05:21:49 +0100 |
| commit | c0ab6dbd13f26c7307b57a032da961bd6c49461c (patch) | |
| tree | 373b3d300ec3252dfcc507d769e74a48286301bf /src/swarm | |
| parent | 968a28c6e68e35e127ec3dd20ed2a8eeb8b30cc0 (diff) | |
allow humand-friendly durations and sizes in CLI
Diffstat (limited to 'src/swarm')
| -rw-r--r-- | src/swarm/blob.rs | 2 | ||||
| -rw-r--r-- | src/swarm/members.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/swarm/blob.rs b/src/swarm/blob.rs index 58522fa..c153a17 100644 --- a/src/swarm/blob.rs +++ b/src/swarm/blob.rs @@ -17,7 +17,7 @@ //! that doesn't arrive in time is asked of another peer. The caller checks the whole //! (for a change: its hash). //! -//! The chunk size is the serving node's (`--blob-chunk-kib`); the manifest carries it. +//! The chunk size is the serving node's (`--blob-chunk`); the manifest carries it. use std::collections::{HashMap, HashSet, VecDeque}; use std::sync::{Arc, Mutex, MutexGuard}; diff --git a/src/swarm/members.rs b/src/swarm/members.rs index cba46f9..19abf2b 100644 --- a/src/swarm/members.rs +++ b/src/swarm/members.rs @@ -11,7 +11,7 @@ //! Besides its tier, an entry holds the alias a node gives itself (`--alias`), a name //! for people reading /peers and metrics (not unique and never an identity: the public //! key stays that), and an `alive` stamp the node renews now and then: the members -//! renewed within `--electorate-window-days` are the electorate of a remake. +//! renewed within `--electorate-window` are the electorate of a remake. use std::collections::HashMap; use std::time::Duration; |
