Skip to content
Commit 16773d36 authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

Yieldable queues for pallet `MessageQueue` (#13424)



* Add Yield message processing error

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Add NoopServiceQueues

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Implement temporary error aka Yield

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Make NoopMessageProcessor generic

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Mock pausable message processor

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Test paused queues

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Integration test paused queues

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Use WeightMeter instead of weight return

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* fix

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Make compile

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Add tests

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_message_queue

* Fix test

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: command-bot <>
parent 84638524
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment