diff options
| author | tv <tv@krebsco.de> | 2026-10-28 01:47:47 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-28 01:47:47 +0100 |
| commit | b995e802ce2b46297999c97fb40b63559b4a134e (patch) | |
| tree | 09abf3bf112080d700266fada70380f246791850 /src/state/host.rs | |
| parent | 688207550347f28d6dbe50ce405300e84da55a89 (diff) | |
rename PING/PONG to STATUS/STATUS_REPLY
Diffstat (limited to 'src/state/host.rs')
| -rw-r--r-- | src/state/host.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/host.rs b/src/state/host.rs index f6c460d..441139e 100644 --- a/src/state/host.rs +++ b/src/state/host.rs @@ -29,7 +29,7 @@ impl AppState { // Tell peers about the new epoch now instead of with the next keepalive (up to a // keepalive interval later). Ready peers already on it learn it from our sync - // opening, which goes out right away; everyone else gets a PING, so peers that + // opening, which goes out right away; everyone else gets a STATUS, so peers that // never saw the commit start catching up (we don't sync with them, so nothing // else would tell them). let local = self.local_epoch(); @@ -52,7 +52,7 @@ impl AppState { } for id in announce { - if let Err(error) = crate::swarm::peer::send_ping(self, id).await { + if let Err(error) = crate::swarm::peer::send_status(self, id).await { debug!(peer = %id, error = %format!("{error:#}"), "Epoch announcement failed"); } } |
