diff options
| author | tv <tv@krebsco.de> | 2026-10-31 06:54:59 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 06:54:59 +0100 |
| commit | c5f743ef0f91e4afd0661824d4ec7df1483dcbad (patch) | |
| tree | e5b5cdafb405c5674b057cc6d1c27f3ff7226a13 /src/api/stats.rs | |
| parent | 1cb2ef3f00e695a414de87acfec090dfde749934 (diff) | |
propagate clock figures
Diffstat (limited to 'src/api/stats.rs')
| -rw-r--r-- | src/api/stats.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs index d274fd9..558507a 100644 --- a/src/api/stats.rs +++ b/src/api/stats.rs @@ -67,13 +67,14 @@ struct DiskStats { } /// How long changes written elsewhere took from their commit there until applied here, -/// once caught up. Includes the clock skew between the writer and us. +/// once caught up, by the peers' clocks (`swarm::skew`). Includes the writer's clock +/// skew. #[derive(Debug, Serialize)] #[serde(rename_all = "camelCase")] struct PropagationStats { count: u64, sum_ms: u64, - /// Changes stamped later than our clock on arrival (writer's clock ahead). + /// Changes stamped later than their arrival (writer's clock ahead). ahead: u64, /// Not cumulative; the last bucket has no bound. buckets: Vec<PropagationBucket>, |
