Commit c5e25877 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Don't drop UMP queue items if weight exhausted (#3784)



* Requeue UMP queue items if weight exhausted

* Reduce complexity and remove Deque

* Formatting

* Formatting

* Avoid needless storage writes

* Test

* Formatting

* Docs and cleanup

* fmt

* Remove now irrelevant comment.

* Simplify `take_processed` by using `mem::take`

* Clean up & fmt: use `upward_message` directly.

* Grumbles

Co-authored-by: default avatarShawn Tabrizi <[email protected]>
Co-authored-by: default avatarSergei Shulepov <[email protected]>
parent a14b6677
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