Fix the metered unbounded sender/recievers (#6246)
* Fix the metered unbounded sender/recievers
* Use a counter instead
* Update client/rpc/src/system/tests.rs
* Add an is_terminated check
* Add FusedStream impl
Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
Showing
- substrate/client/rpc/src/system/tests.rs 3 additions, 2 deletionssubstrate/client/rpc/src/system/tests.rs
- substrate/client/service/src/client/client.rs 2 additions, 3 deletionssubstrate/client/service/src/client/client.rs
- substrate/client/service/src/status_sinks.rs 2 additions, 2 deletionssubstrate/client/service/src/status_sinks.rs
- substrate/primitives/utils/src/metrics.rs 5 additions, 5 deletionssubstrate/primitives/utils/src/metrics.rs
- substrate/primitives/utils/src/mpsc.rs 29 additions, 11 deletionssubstrate/primitives/utils/src/mpsc.rs
Please register or sign in to comment