This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Scheduler pre block limit note #13231
Merged
paritytech-processbot
merged 4 commits into
master
from
muharem-scheduler-per-block-limit-docs
Apr 3, 2023
Merged
Scheduler pre block limit note #13231
paritytech-processbot
merged 4 commits into
master
from
muharem-scheduler-per-block-limit-docs
Apr 3, 2023
Conversation
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
muharem
added
A0-please_review
Pull request needs code review.
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
labels
Jan 24, 2023
ggwpez
reviewed
Jan 24, 2023
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
bot rebase |
…er-block-limit-docs
Rebased |
ggwpez
approved these changes
Mar 29, 2023
bot rebase |
…er-block-limit-docs
Rebased |
bot rebase |
…er-block-limit-docs
Rebased |
tonyalaribe
approved these changes
Apr 3, 2023
bot merge |
paritytech-processbot
bot
deleted the
muharem-scheduler-per-block-limit-docs
branch
April 3, 2023 10:59
gpestana
pushed a commit
that referenced
this pull request
Apr 23, 2023
Co-authored-by: parity-processbot <>
15 tasks
nathanwhit
pushed a commit
to nathanwhit/substrate
that referenced
this pull request
Jul 19, 2023
Co-authored-by: parity-processbot <>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A0-please_review
Pull request needs code review.
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
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.
Scheduler has the upper limit for the number of the calls scheduled per block.
The benchmarks of the
pallet_referenda
andpallet_conviction_voting
do not respect the limit and overflows it if the schedulerMaxScheduledPerBlock
not high enough.For
pallet_referenda
benchmarks the limit reached iftrack.max_deciding > scheduler.max_scheduled_per_block OR
referenda.max_queued > scheduler.max_scheduled_per_block OR
track.max_deciding + referenda.max_queued > scheduler.max_scheduled_per_block
For
pallet_conviction_voting
benchmarks the limit reached ifnumber_of_registered_votes > scheduler.max_scheduled_per_block
This PR is an alternative solution to a more complex one (#13143), helping a user to find a workaround faster.