aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/host.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-01 20:34:59 +0100
committertv <tv@krebsco.de>2026-11-01 20:34:59 +0100
commiteb483a2a84e02f3797cffa7fe333d61c9988a11e (patch)
tree7668c173b5f8e2b4b2c6ace264cee902020d5e1d /src/state/host.rs
parent27baa77ded7addc2867d15a16880ba5468bc2f3e (diff)
bootstrap: replace pull by progress notify
Diffstat (limited to 'src/state/host.rs')
-rw-r--r--src/state/host.rs2
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);
}