availability-recovery: move cpu burners in blocking tasks (#7417)
* Move expensive computations to blocking thread Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> * fix test Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add internal error and fix dependent subystems Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix test fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * minor refactor and TODOs Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Impl Feedback for Review Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * More docs Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add some example timings in comments Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> --------- Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
Showing
- polkadot/node/core/approval-voting/src/lib.rs 11 additions, 0 deletionspolkadot/node/core/approval-voting/src/lib.rs
- polkadot/node/core/dispute-coordinator/src/participation/mod.rs 1 addition, 1 deletion...ot/node/core/dispute-coordinator/src/participation/mod.rs
- polkadot/node/network/availability-recovery/src/lib.rs 265 additions, 35 deletionspolkadot/node/network/availability-recovery/src/lib.rs
- polkadot/node/network/availability-recovery/src/tests.rs 7 additions, 5 deletionspolkadot/node/network/availability-recovery/src/tests.rs
- polkadot/node/subsystem-types/src/errors.rs 4 additions, 0 deletionspolkadot/node/subsystem-types/src/errors.rs
Please register or sign in to comment