File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,21 @@ title: Add the ability for MessageQueue to process enqueued messages on idle
66doc:
77 - audience: Runtime Dev
88 description: |
9- Add the option to use remaining weight on idle for processing enqueued messages.
10- This will increase the chances of the messages enqueued during inherent extrinsics to be processed in the same block.
11- New config types is added on the message-queue `Config` trait:
12- - `IdleMaxServiceWeight`
9+ Add the option to use remaining weight on idle for processing enqueued messages.
10+ This will increase the chances of the messages enqueued during inherent extrinsics to be processed in the same block.
11+ New config types is added on the message-queue `Config` trait:
12+ - `IdleMaxServiceWeight`
1313
14- example:
15- ```rust
16- parameter_types! {
17- // The maximum weight to be used from remaining weight for processing enqueued messages on idle
18- pub const IdleMaxServiceWeight: Weight = Some(Weight);
19- }
14+ example:
15+ ```rust
16+ parameter_types! {
17+ // The maximum weight to be used from remaining weight for processing enqueued messages on idle
18+ pub const IdleMaxServiceWeight: Weight = Some(Weight);
19+ }
2020
21- type IdleMaxServiceWeight = IdleMaxServiceWeight; // or `()` to not use this feature
22- ```
21+ type IdleMaxServiceWeight = IdleMaxServiceWeight; // or `()` to not use this feature
22+ ```
2323
2424crates:
25- - name: pallet-message-queue
25+ - name: pallet-message-queue
26+ bump: major
You can’t perform that action at this time.
0 commit comments