process enqueued messages on idle (#3844)

This will make it possible to use remaining weight on idle for
processing enqueued messages.
More context here https://github.com/paritytech/polkadot-sdk/issues/3709

---------

Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
Ermal Kaleci
2024-03-27 15:51:45 +01:00
committed by GitHub
parent 417c54c61c
commit 8342947b8e
30 changed files with 114 additions and 2 deletions
+1
View File
@@ -1303,6 +1303,7 @@ impl pallet_message_queue::Config for Runtime {
type HeapSize = ConstU32<{ 64 * 1024 }>;
type MaxStale = ConstU32<128>;
type ServiceWeight = MessageQueueServiceWeight;
type IdleMaxServiceWeight = ();
}
parameter_types! {