From b93f921bcbd4b28eca41853bccd8566f19b53099 Mon Sep 17 00:00:00 2001 From: mirsal Date: Mon, 25 Nov 2024 04:06:01 +0000 Subject: [PATCH] main: Increase the broadcast channel capacity --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bf26d6a..6936c52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ async fn main() -> anyhow::Result<()> { // This message passing channel is used for sending messages to the matrix module, // it holds a tuple with an HTML message and a list of rooms to post to - let (bcast_tx, bcast_rx) = broadcast::channel(16); + let (bcast_tx, bcast_rx) = broadcast::channel(1024); let state_db = FeedReaderStateDb::new("state.yaml").await .expect("Failed to initialize feed reader state db");