mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-27 22:19:49 +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
@@ -99,7 +99,7 @@ impl NetworkServiceHandle {
|
||||
impl NetworkServiceProvider {
|
||||
/// Create new `NetworkServiceProvider`
|
||||
pub fn new() -> (Self, NetworkServiceHandle) {
|
||||
let (tx, rx) = tracing_unbounded("mpsc_network_service_provider");
|
||||
let (tx, rx) = tracing_unbounded("mpsc_network_service_provider", 100_000);
|
||||
|
||||
(Self { rx }, NetworkServiceHandle::new(tx))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user