From 864cb8959a0d83adec77782364244aabdbf1425b Mon Sep 17 00:00:00 2001 From: Stuart Woodbury Date: Thu, 9 Nov 2023 16:38:33 -0500 Subject: [PATCH] reset announce timer in response to GossipSubCmd::Announce --- extensions/warp-blink-wrtc/src/blink_impl/gossipsub_sender.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/warp-blink-wrtc/src/blink_impl/gossipsub_sender.rs b/extensions/warp-blink-wrtc/src/blink_impl/gossipsub_sender.rs index 31cac9de3..55eb2daa7 100644 --- a/extensions/warp-blink-wrtc/src/blink_impl/gossipsub_sender.rs +++ b/extensions/warp-blink-wrtc/src/blink_impl/gossipsub_sender.rs @@ -296,6 +296,7 @@ async fn run( log::error!("failed to publish aes message: {e}"); } to_announce.replace(GossipSubCmd::Announce { group_key, signal, topic }); + announce_timer.reset(); }, GossipSubCmd::DecodeEcdh { src, data, rsp } => { let r = || {