diff options
| author | tv <tv@krebsco.de> | 2026-11-01 20:34:59 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 20:34:59 +0100 |
| commit | 962fe4b43632822dc91fa6a4da6f6f295f4dba32 (patch) | |
| tree | 5dd0b5c144f9e2e93ea498cab1df9d2295d49f70 /src/state/host.rs | |
| parent | bb0716c8f199f7efb0f89a711a649f89cb09931f (diff) | |
bootstrap: replace pull by progress notify
Diffstat (limited to 'src/state/host.rs')
| -rw-r--r-- | src/state/host.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/host.rs b/src/state/host.rs index e7921e4..5751998 100644 --- a/src/state/host.rs +++ b/src/state/host.rs @@ -330,6 +330,7 @@ impl Host for AppState { .expect("rejoin task panicked") }; state.publish_change(); + state.join_progress.notify_one(); if resumed { crate::swarm::peer::announce(&state); } @@ -360,6 +361,7 @@ impl Host for AppState { .expect("rejoin task panicked") }; state.after_epoch_switch().await; + state.join_progress.notify_one(); if resumed { crate::swarm::peer::announce(&state); } |
