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,