mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-13 22:27:06 +00:00
Runtime diagnostics for leaked messages in unbounded channels (#12971)
This commit is contained in:
1 parent
70e9f8e920
commit
34eb463d99
37 files changed
+257
-134
No files matched your search
@@ -275,7 +275,7 @@ pub struct Peerset {
|
||||
impl Peerset {
|
||||
/// Builds a new peerset from the given configuration.
|
||||
pub fn from_config(config: PeersetConfig) -> (Self, PeersetHandle) {
|
||||
let (tx, rx) = tracing_unbounded("mpsc_peerset_messages");
|
||||
let (tx, rx) = tracing_unbounded("mpsc_peerset_messages", 10_000);
|
||||
|
||||
let handle = PeersetHandle { tx: tx.clone() };
|
||||
|
||||
|
||||
Reference in new issue
Block a user