mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Make unbounded channels size warning exact (part 2) (#13504)
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
Utilities Primitives for Substrate
|
||||
# Utilities Primitives for Substrate
|
||||
|
||||
## Features
|
||||
This crate provides `mpsc::tracing_unbounded` function that returns wrapper types to
|
||||
`async_channel::Sender<T>` and `async_channel::Receiver<T>`, which register every
|
||||
`send`/`received`/`dropped` action happened on the channel.
|
||||
|
||||
### metered
|
||||
|
||||
This feature changes the behaviour of the function `mpsc::tracing_unbounded`.
|
||||
With the disabled feature this function is an alias to `futures::channel::mpsc::unbounded`.
|
||||
However, when the feature is enabled it creates wrapper types to `UnboundedSender<T>`
|
||||
and `UnboundedReceiver<T>` to register every `send`/`received`/`dropped` action happened on
|
||||
the channel.
|
||||
|
||||
Also this feature creates and registers a prometheus vector with name `unbounded_channel_len` and labels:
|
||||
Also this wrapper creates and registers a prometheus vector with name `unbounded_channel_len`
|
||||
and labels:
|
||||
|
||||
| Label | Description |
|
||||
| ------------ | --------------------------------------------- |
|
||||
|
||||
Reference in New Issue
Block a user