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 | db3c4e997f03a660ac37a6bdf86c6215726a71bd (patch) | |
| tree | 2aafff562a7cd1c178adbf5b5c5f5e416cb86db6 /src/state/host.rs | |
| parent | 34e7ac8d6af652e0d516bce3e204386d54979b7c (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"); } } |
