From 37ca383e6ae4d039e4784f54a77ba0e9a84e1db0 Mon Sep 17 00:00:00 2001 From: Tal <83217276+talwat@users.noreply.github.com> Date: Tue, 18 Nov 2025 20:59:15 +0100 Subject: [PATCH] fix: reduce buffer size to accomodate new downloader logic --- src/download.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download.rs b/src/download.rs index e578082..d76befc 100644 --- a/src/download.rs +++ b/src/download.rs @@ -30,7 +30,7 @@ impl Downloader { pub async fn init(size: usize, tracks: tracks::List, tx: Sender) -> Handle { let client = Client::new(); - let (qtx, qrx) = mpsc::channel(size); + let (qtx, qrx) = mpsc::channel(size - 1); let downloader = Self { queue: qtx, tx,