From 23435f3334ac948707543763c6b973b39cb8d904 Mon Sep 17 00:00:00 2001 From: Hizkia Felix Winata Date: Sat, 5 Nov 2022 11:52:39 +0800 Subject: [PATCH] bump up mpsc channel capacity --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cba61c4..8596965 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,7 +98,7 @@ async fn main() -> Result<()> { ); // Set up message bus - let mut bus = MessageBus::new(16384); + let mut bus = MessageBus::new(65_536); // Set up modules macro_rules! run_module {