Skip to content

Commit 548536d

Browse files
authored
Merge pull request #380 from superfly/debug-lag
Reset boolean variable to ensure node keeps broadcasting changes after getting rate limited
2 parents 12f3792 + ffec272 commit 548536d

File tree

1 file changed

+1
-0
lines changed
  • crates/corro-agent/src/broadcast

1 file changed

+1
-0
lines changed

crates/corro-agent/src/broadcast/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ async fn handle_broadcasts(
590590
}
591591

592592
let prev_rate_limited = rate_limited;
593+
rate_limited = false;
593594

594595
// start with local broadcasts, they're higher priority
595596
let mut ring0 = HashSet::new();

0 commit comments

Comments
 (0)