mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 18:00:41 +00:00
feat: enlarge channel size
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user