mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
Runtime diagnostics for leaked messages in unbounded channels (#12971)
This commit is contained in:
@@ -144,7 +144,9 @@ impl<Block: BlockT> StorageNotifications<Block> {
|
||||
filter_keys: Option<&[StorageKey]>,
|
||||
filter_child_keys: Option<&[(StorageKey, Option<Vec<StorageKey>>)]>,
|
||||
) -> StorageEventStream<Block::Hash> {
|
||||
let receiver = self.0.subscribe(registry::SubscribeOp { filter_keys, filter_child_keys });
|
||||
let receiver = self
|
||||
.0
|
||||
.subscribe(registry::SubscribeOp { filter_keys, filter_child_keys }, 100_000);
|
||||
|
||||
StorageEventStream(receiver)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user