forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Authority overload monitor (MystenLabs#16050)
Roll forward MystenLabs#15981 Previously, the PR was causing CI failure because `max_txn_age_in_queue` was used in the config. Therefore, although `overload_threshold_config` has a default, since `max_txn_age_in_queue` is specified, serde expects the rest of config to show up in the config file. Because we don't have a serde default set for the rest of the field, it crashes. This PR added serde default for all the field in OverloadThresholdConfig in addition to the original MystenLabs#15981 . I manually verified that it can parse the config correctly when only partial config is set.
- Loading branch information
Showing
11 changed files
with
485 additions
and
11 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
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.