From da85ef2a334ea950cd246820e590641762dd222a Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Tue, 14 Feb 2023 15:51:08 +0330 Subject: [PATCH] Lower new message threshold --- src/tracking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracking.rs b/src/tracking.rs index 810a037..24545cc 100644 --- a/src/tracking.rs +++ b/src/tracking.rs @@ -85,7 +85,7 @@ pub(crate) async fn download_gossip(persistence_sender: mpsc::Sender 0 && previous_update_count > 0; + is_caught_up_with_gossip = new_message_count < 1 && previous_announcement_count > 0 && previous_update_count > 0; if new_message_count > 0 { latest_new_gossip_time = Instant::now(); }