From fa581ae1d7445bf6e09f827b3b68b556f057aa7d Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Tue, 13 Jul 2021 12:23:18 +0200 Subject: [PATCH] fix: increase channel size --- src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoint.rs b/src/endpoint.rs index 89f84ddf..03eab766 100644 --- a/src/endpoint.rs +++ b/src/endpoint.rs @@ -41,7 +41,7 @@ const PORT_FORWARD_TIMEOUT: u64 = 30; const ECHO_SERVICE_QUERY_TIMEOUT: u64 = 30; /// Standard size of our channel bounds -const STANDARD_CHANNEL_SIZE: usize = 5; +const STANDARD_CHANNEL_SIZE: usize = 1000; /// Channel on which incoming messages can be listened to pub struct IncomingMessages(pub(crate) MpscReceiver<(SocketAddr, Bytes)>);