From 5fb4397810e167a251d4c909e06784564452e56f Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Fri, 5 Apr 2024 01:07:25 +0200 Subject: [PATCH] Update pr_3844.prdoc (#3988) --- prdoc/pr_3844.prdoc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/prdoc/pr_3844.prdoc b/prdoc/pr_3844.prdoc index a92092f91b..4705fd7fc8 100644 --- a/prdoc/pr_3844.prdoc +++ b/prdoc/pr_3844.prdoc @@ -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