diff options
| author | tv <tv@krebsco.de> | 2026-10-24 05:37:20 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-24 05:38:29 +0200 |
| commit | 8c7897b03cb35516b7542544541b98694b40bf6f (patch) | |
| tree | 9654a13760050a17b297df6e12d7e2827401784a /src/transport/mod.rs | |
| parent | 6d6962c5cad66d45ff3c1c5a97b405b40206138c (diff) | |
assess swarm stability
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index e8d654d..19c4126 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -139,6 +139,9 @@ pub struct HelloReply { /// The `run_id` of the HELLO answered. A reply to a HELLO from an earlier run of the /// recipient (delivered late, or queued while it was down) is ignored. pub run_id: RunId, + /// How long before this HELLO the sender had last heard from the recipient, if ever + /// (in milliseconds): tells a restarted node how long it was away. + pub away_ms: Option<u64>, } #[derive(Debug, Clone)] |
