diff options
| author | tv <tv@krebsco.de> | 2026-10-26 20:33:29 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 20:33:29 +0100 |
| commit | c7d6d626f7d9cad8c99741dab48559610c32ba7b (patch) | |
| tree | df9e56f99c8ccfb753a9cf29e72304f54b11501b /src/main.rs | |
| parent | 69d5b4585b382f4e8fdedd13c176399bce5df8e9 (diff) | |
add farewell ping
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index dee0a32..628a71e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -267,6 +267,7 @@ async fn main() -> Result<()> { } info!("HTTP API server stopped"); + swarm::peer::farewell(&stopping).await; swarm::state_file::update(&stopping, true).await; document::file::flush(&stopping).await; Ok(()) |
