-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip idle_scheduler Calls When Not Producing blocks #1721
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully get the formula. While we currently expecting one para block per two relay blocks, that will change in future and we shouldn't assume that.
Also BlockNumberDifference
doesn't get updated on the do_dispatch_tasks
path so it will get triggered every few blocks?
Yeah I could use Under this solution it would get triggered every 3 slots skipped... so under perfect conditions it would never update |
We might want to wait for #1734 to merge. IdleScheduler needs to execute |
Codecov Report
@@ Coverage Diff @@
## master #1721 +/- ##
==========================================
- Coverage 86.38% 86.38% -0.01%
==========================================
Files 98 98
Lines 20131 20163 +32
==========================================
+ Hits 17390 17417 +27
- Misses 2741 2746 +5
Continue to review full report at Codecov.
|
Need to fix mock on |
/bench runtime acala module_idle_scheduler |
Starting benchmark for branch: fer-check-idle (vs master) Comment will be updated. |
Added on_initialize and more comprehensive benchmarks to |
…ts-for-currencies * origin/master: (362 commits) Skip idle_scheduler Calls When Not Producing blocks (#1721) config more homa subaccounts for Karura (#2004) rm wt storage (#1984) Update construct_runtime's syntax (#2000) polkadot v0.9.18 (#1988) be srtool compatible (#2021) Update README.md (#2022) update precompile weights (#2020) Mandala supports PricingPegged for taiKSM (#2015) remove unneeded param (#2014) fix srtool (#2013) update precompile gas_limit (#2007) fix verify bootnodes script Bump minimist from 1.2.5 to 1.2.6 in /ts-tests (#2008) Bump (#2005) add NativeAssetId to asset registry (#1993) connect earning and incentives (#1995) Liquidation (#1955) Improvement/orml oracle (#1998) Mock xcm (#1977) ... # Conflicts: # modules/currencies/src/lib.rs # predeploy-contracts
closes #1467