fix!: Configure Defer Duration#649
Merged
mrq1911 merged 2 commits intopolkadot-v1.1.0from Dec 8, 2023
Merged
Conversation
|
Crate versions that have been updated:
Runtime version has been increased. |
mrq1911
approved these changes
Dec 8, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Configure the defer duration to 36 hours. This value is derived based on a desired effective defer duration of 4h as well as a defer boundary of 0.9 (start deferring at 90% of the desired rate limit boundary value), i.e. if we want to ensure that 200000$ are deferred by 4h, we configure 36h as the defer duration and 0.9*200000 = 180000 as the rate limit in the registry.
Checklist: