Add counter for bounded channel sends that block. (#5490)
* Add counter for bounded channel sends that block. Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> * fix typos Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix bounded sent metric Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * refactor a bit and test Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Return disconnect errors early. Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * future proof error handling Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
Showing
- polkadot/node/metered-channel/src/bounded.rs 21 additions, 7 deletionspolkadot/node/metered-channel/src/bounded.rs
- polkadot/node/metered-channel/src/lib.rs 10 additions, 0 deletionspolkadot/node/metered-channel/src/lib.rs
- polkadot/node/metered-channel/src/tests.rs 23 additions, 2 deletionspolkadot/node/metered-channel/src/tests.rs
- polkadot/node/overseer/src/metrics.rs 16 additions, 0 deletionspolkadot/node/overseer/src/metrics.rs
Please register or sign in to comment