From 2d2925c3e21af8ee8f745aa00c0a59dcd9c95df9 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Sat, 15 Jun 2024 02:22:33 +0200 Subject: bump version to 0.1.3 --- jsonrpc/src/client/message_dispatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jsonrpc/src/client') diff --git a/jsonrpc/src/client/message_dispatcher.rs b/jsonrpc/src/client/message_dispatcher.rs index aa47cec..14dcc71 100644 --- a/jsonrpc/src/client/message_dispatcher.rs +++ b/jsonrpc/src/client/message_dispatcher.rs @@ -24,7 +24,7 @@ impl MessageDispatcher { /// Registers a new request with a given ID and returns a Receiver channel /// to wait for the response. pub(super) async fn register(&self, id: RequestID) -> Receiver { - let (tx, rx) = async_channel::unbounded(); + let (tx, rx) = async_channel::bounded(1); self.chans.lock().await.insert(id, tx); rx } -- cgit v1.2.3