You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop/parachains/maintenance/asynchronous-backing.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,11 @@ The relay chain needs to have async backing enabled so double-check that the rel
24
24
"max_candidate_depth":3,
25
25
"allowed_ancestry_len":2
26
26
},
27
-
"scheduling_lookahead":2
28
27
```
29
-
This can be found in the relay chain's runtime. You can see the Polkadot [`async_backing_params`](https://github.com/polkadot-fellows/runtimes/blob/d49a9f33d0ea85ce51c26c84a70b61624ec06901/relay/polkadot/src/genesis_config_presets.rs#L131-L134){target=\_blank} as an example. `scheduling_lookahead` can also be set using the [`set_scheduling_lookahead`](https://paritytech.github.io/polkadot-sdk/master/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_scheduling_lookahead.html){target=\_blank} dispatchable.
28
+
This can be found in the relay chain's runtime. You can see the Polkadot [`async_backing_params`](https://github.com/polkadot-fellows/runtimes/blob/d49a9f33d0ea85ce51c26c84a70b61624ec06901/relay/polkadot/src/genesis_config_presets.rs#L131-L134){target=\_blank} as an example. You also want to make sure that the `lookahead` in [`schedulerParams`](https://paritytech.github.io/polkadot-sdk/master/cumulus_primitives_core/relay_chain/struct.SchedulerParams.html){target=\_blank} is set to `3`. This can be found by found by querying the [`scheduler_params`](https://paritytech.github.io/polkadot-sdk/master/polkadot_runtime_parachains/configuration/struct.HostConfiguration.html#structfield.scheduler_params){target=\_blank} using the [`configuration.activeConfig()`](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-polkadot.helixstreet.io#/chainstate) query in PolkadotJS.
30
29
31
30
!!! warning
32
-
`scheduling_lookahead` must be set to 2, otherwise parachain block times will degrade to worse than with sync backing!
31
+
`lookahead` must be set to 3, otherwise parachain block times will degrade to worse than with sync backing!
Copy file name to clipboardExpand all lines: llms.txt
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5411,12 +5411,11 @@ The relay chain needs to have async backing enabled so double-check that the rel
5411
5411
"max_candidate_depth": 3,
5412
5412
"allowed_ancestry_len": 2
5413
5413
},
5414
-
"scheduling_lookahead": 2
5415
5414
```
5416
-
This can be found in the relay chain's runtime. You can see the Polkadot [`async_backing_params`](https://github.com/polkadot-fellows/runtimes/blob/d49a9f33d0ea85ce51c26c84a70b61624ec06901/relay/polkadot/src/genesis_config_presets.rs#L131-L134){target=\_blank} as an example. `scheduling_lookahead` can also be set using the [`set_scheduling_lookahead`](https://paritytech.github.io/polkadot-sdk/master/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_scheduling_lookahead.html){target=\_blank} dispatchable.
5415
+
This can be found in the relay chain's runtime. You can see the Polkadot [`async_backing_params`](https://github.com/polkadot-fellows/runtimes/blob/d49a9f33d0ea85ce51c26c84a70b61624ec06901/relay/polkadot/src/genesis_config_presets.rs#L131-L134){target=\_blank} as an example. You also want to make sure that the `lookahead` in [`schedulerParams`](https://paritytech.github.io/polkadot-sdk/master/cumulus_primitives_core/relay_chain/struct.SchedulerParams.html){target=\_blank} is set to `3`. This can be found by found by querying the [`scheduler_params`](https://paritytech.github.io/polkadot-sdk/master/polkadot_runtime_parachains/configuration/struct.HostConfiguration.html#structfield.scheduler_params){target=\_blank} using the [`configuration.activeConfig()`](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-polkadot.helixstreet.io#/chainstate) query in PolkadotJS.
5417
5416
5418
5417
!!! warning
5419
-
`scheduling_lookahead` must be set to 2, otherwise parachain block times will degrade to worse than with sync backing!
5418
+
`lookahead` must be set to 3, otherwise parachain block times will degrade to worse than with sync backing!
0 commit comments