-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ratelimit: Avoid replicating "zero" pipes excessively
This patch makes it so any time a pipe's `.counter` value reaches 0, it will only get broadcasted to neighbouring cluster nodes exactly 3 more times, after which it will be completely skipped from being included in the replication packet. This counter is then reset to 3 as soon as the pipe's value is incremented locally.
- Loading branch information
1 parent
99879ab
commit 377ba7f
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters