Skip to content
Unverified Commit 2449d21c authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Introduce scheduler and use it for the democracy dispatch queue (#5412)



* Initial draft of the logic

* Build and tests

* Make work with new initialize infratructure.

* Update frame/scheduler/src/lib.rs

Co-Authored-By: default avatarMarcio Diaz <[email protected]>

* Update frame/scheduler/src/lib.rs

Co-Authored-By: default avatarMarcio Diaz <[email protected]>

* Update frame/scheduler/src/lib.rs

Co-Authored-By: default avatarMarcio Diaz <[email protected]>

* Update frame/scheduler/src/lib.rs

Co-Authored-By: default avatarMarcio Diaz <[email protected]>

* Fix test

* Update frame/scheduler/src/lib.rs

Co-Authored-By: default avatarMarcio Diaz <[email protected]>

* Rejig interface to make it more useful for democracy.

* Try to get democraxy module to make use of scheduler.

* Make democracy use scheduler.

* Use actual max weight for enactent

* Remove TODO

* Fix runtime build

* Minor cleanup

* Fix scheduler.

* Fix benchmarks

* Fix

* Fix

* Fix

* More bench fixes

* Fix

* Fix.

* Add more bench constants.

* Fix cancel_queued bench.

* Fix test comment.

* Update frame/scheduler/src/lib.rs

Co-Authored-By: default avatarMarcio Diaz <[email protected]>

Co-authored-by: default avatarMarcio Diaz <[email protected]>
parent 176b19f8
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