-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split packet clearing schedule from packet worker (#4080)
* Split packet clearing schedule from packet worker * Rename packet clearing test to be more specific * Nit clean-up for ordered_channel test * Clear packets in packet_cmd_worker for ordered channels only * Add intermediary channel to forward cmd from clear worker to packet worker * Add changelog entry * Add new config 'clear_limit' * Apply clear_limit when clearing pending packets * Add test for clear_limit * Fix clear limit for send packets * Update changelog entry * Add 'clear_limit' to example config * Restore changelog entry deleted after merge * Apply suggestions from code review Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Moved 'clear_limit' after 'clear_on_start' in example config.toml --------- Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Romain Ruetschi <romain@informal.systems>
- Loading branch information
Showing
10 changed files
with
293 additions
and
53 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...gelog/unreleased/improvements/ibc-relayer/4071-split-packet-clear-scheduling.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Add a new configuration `clear_limit` to specify the maximum number | ||
of packets cleared every time packet clearing is triggered. | ||
Defaults to 50. | ||
([\#4071](https://github.com/informalsystems/hermes/issues/4071)) |
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
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
Oops, something went wrong.