Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
5fb43978
Unverified
Commit
5fb43978
authored
11 months ago
by
Ermal Kaleci
Committed by
GitHub
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Update pr_3844.prdoc (#3988)
parent
a7acec70
Branches
Branches containing commit
No related merge requests found
Pipeline
#462499
passed with stages
in 1 hour, 6 minutes, and 25 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
prdoc/pr_3844.prdoc
+14
-13
14 additions, 13 deletions
prdoc/pr_3844.prdoc
with
14 additions
and
13 deletions
prdoc/pr_3844.prdoc
+
14
−
13
View file @
5fb43978
...
...
@@ -6,20 +6,21 @@ title: Add the ability for MessageQueue to process enqueued messages on idle
doc:
- audience: Runtime Dev
description: |
Add the option to use remaining weight on idle for processing enqueued messages.
This will increase the chances of the messages enqueued during inherent extrinsics to be processed in the same block.
New config types is added on the message-queue `Config` trait:
- `IdleMaxServiceWeight`
Add the option to use remaining weight on idle for processing enqueued messages.
This will increase the chances of the messages enqueued during inherent extrinsics to be processed in the same block.
New config types is added on the message-queue `Config` trait:
- `IdleMaxServiceWeight`
example:
```rust
parameter_types! {
// The maximum weight to be used from remaining weight for processing enqueued messages on idle
pub const IdleMaxServiceWeight: Weight = Some(Weight);
}
example:
```rust
parameter_types! {
// The maximum weight to be used from remaining weight for processing enqueued messages on idle
pub const IdleMaxServiceWeight: Weight = Some(Weight);
}
type IdleMaxServiceWeight = IdleMaxServiceWeight; // or `()` to not use this feature
```
type IdleMaxServiceWeight = IdleMaxServiceWeight; // or `()` to not use this feature
```
crates:
- name: pallet-message-queue
- name: pallet-message-queue
bump: major
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment