mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 03:58:04 +00:00
Make unbounded channels size warning exact (part 2) (#13504)
This commit is contained in:
@@ -79,7 +79,7 @@ impl<Payload, TK: TracingKeyStr> NotificationStream<Payload, TK> {
|
||||
}
|
||||
|
||||
/// Subscribe to a channel through which the generic payload can be received.
|
||||
pub fn subscribe(&self, queue_size_warning: i64) -> NotificationReceiver<Payload> {
|
||||
pub fn subscribe(&self, queue_size_warning: usize) -> NotificationReceiver<Payload> {
|
||||
let receiver = self.hub.subscribe((), queue_size_warning);
|
||||
NotificationReceiver { receiver }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user