Skip to content

Commit 5fb4397

Browse files
authored
Update pr_3844.prdoc (#3988)
1 parent a7acec7 commit 5fb4397

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

prdoc/pr_3844.prdoc

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ title: Add the ability for MessageQueue to process enqueued messages on idle
66
doc:
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

2424
crates:
25-
- name: pallet-message-queue
25+
- name: pallet-message-queue
26+
bump: major

0 commit comments

Comments
 (0)