mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
Runtime diagnostics for leaked messages in unbounded channels (#12971)
This commit is contained in:
@@ -1436,7 +1436,7 @@ where
|
||||
state_request_protocol_name: ProtocolName,
|
||||
warp_sync_protocol_name: Option<ProtocolName>,
|
||||
) -> Result<(Self, ChainSyncInterfaceHandle<B>, NonDefaultSetConfig), ClientError> {
|
||||
let (tx, service_rx) = tracing_unbounded("mpsc_chain_sync");
|
||||
let (tx, service_rx) = tracing_unbounded("mpsc_chain_sync", 100_000);
|
||||
let block_announce_config = Self::get_block_announce_proto_config(
|
||||
protocol_id,
|
||||
fork_id,
|
||||
|
||||
@@ -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