feat: enlarge channel size

This commit is contained in:
evenyag
2023-11-29 19:43:34 +08:00
parent cb7ed6ad58
commit 4eb7fdc20c

View File

@@ -261,7 +261,7 @@ impl SeqScan {
/// Scan the input source in another task.
fn scan_source_in_background(mut input: Source, semaphore: Arc<Semaphore>) -> BoxedBatchStream {
let (sender, receiver) = mpsc::channel(1);
let (sender, receiver) = mpsc::channel(64);
tokio::spawn(async move {
loop {
// We release the permit before sending result to avoid the task waiting on