Skip to content

Commit

Permalink
Fix peers start_conditions on non peer gossip
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Oct 22, 2024
1 parent 3f97bfc commit f634612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/net/routing/hat/p2p_peer/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ impl Network {
}
}
}
if self.wait_declares && src_whatami != WhatAmI::Peer {
if (!self.wait_declares) || src_whatami != WhatAmI::Peer {
zenoh_runtime::ZRuntime::Net.block_in_place(
strong_runtime
.start_conditions()
Expand Down

0 comments on commit f634612

Please sign in to comment.