mirror of
https://github.com/talwat/lowfi
synced 2025-11-28 13:29:20 +00:00
fix: reduce buffer size to accomodate new downloader logic
This commit is contained in:
parent
2dd165d562
commit
37ca383e6a
@ -30,7 +30,7 @@ impl Downloader {
|
||||
pub async fn init(size: usize, tracks: tracks::List, tx: Sender<crate::Message>) -> Handle {
|
||||
let client = Client::new();
|
||||
|
||||
let (qtx, qrx) = mpsc::channel(size);
|
||||
let (qtx, qrx) = mpsc::channel(size - 1);
|
||||
let downloader = Self {
|
||||
queue: qtx,
|
||||
tx,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user