mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 20:25:40 +00:00
[FRAME] Use 'ready' pages in XCMP suspend logic (#2393)
Changes: - `QueueFootprint` gets a new field; `ready_pages` that contains the non-overweight and not yet processed pages. - `XCMP` queue pallet is change to use the `ready_pages` instead of `pages` to calculate the channel suspension thresholds. This should give the XCMP queue pallet a more correct view of when to suspend channels. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
c367ac2488
commit
329c077236
@@ -0,0 +1,16 @@
|
||||
title: "[XCMP] Use the number of 'ready' pages in XCMP suspend logic"
|
||||
|
||||
doc:
|
||||
- audience: Runtime Dev
|
||||
description: |
|
||||
Semantics of the suspension logic in the XCMP queue pallet change from using the number of
|
||||
total pages to the number of 'ready' pages. The number of ready pages is now also exposed by
|
||||
the `MessageQueue` pallet to downstream via the queue `footprint`.
|
||||
|
||||
crates:
|
||||
- name: cumulus-pallet-xcmp-queue
|
||||
bump: patch
|
||||
- name: pallet-message-queue
|
||||
bump: patch
|
||||
- name: frame-support
|
||||
bump: major
|
||||
Reference in New Issue
Block a user