From 6fa082ebc8af62e82d57fd4706131ecd05e8b0cf Mon Sep 17 00:00:00 2001 From: Somtochi Onyekwere Date: Wed, 21 Aug 2024 22:40:01 +0100 Subject: [PATCH] reset count --- crates/corro-agent/src/agent/handlers.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/corro-agent/src/agent/handlers.rs b/crates/corro-agent/src/agent/handlers.rs index bb7ec0ba..e33f4f0b 100644 --- a/crates/corro-agent/src/agent/handlers.rs +++ b/crates/corro-agent/src/agent/handlers.rs @@ -853,6 +853,10 @@ pub async fn handle_changes( ); } } + // reset count + if drop_log_count == 100000000 { + drop_log_count = 0; + } continue; }