diff --git a/src/directsketch.rs b/src/directsketch.rs index 9ec1f82..d46173c 100644 --- a/src/directsketch.rs +++ b/src/directsketch.rs @@ -626,9 +626,9 @@ pub async fn download_and_sketch( } // // create channels. buffer size can be changed - here it is 4 b/c we can do 3 downloads simultaneously - // // to do: see whether increasing buffer size speeds things up - let (send_sigs, recv_sigs) = tokio::sync::mpsc::channel::>(1000); - let (send_failed, recv_failed) = tokio::sync::mpsc::channel::(100); + // // to do: see whether changing buffer size speeds things up + let (send_sigs, recv_sigs) = tokio::sync::mpsc::channel::>(4); + let (send_failed, recv_failed) = tokio::sync::mpsc::channel::(4); // // Error channel for handling task errors let (error_sender, error_receiver) = tokio::sync::mpsc::channel::(1);