Skip to content

Commit 6395907

Browse files
committed
Limit concurrency to 1
1 parent 7265cff commit 6395907

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • datafusion/physical-plan/src/joins/grace_hash_join

datafusion/physical-plan/src/joins/grace_hash_join/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn prefetch_cap_bytes(_current_limit: usize) -> usize {
7171

7272
fn global_join_semaphore() -> &'static Arc<Semaphore> {
7373
static SEM: OnceLock<Arc<Semaphore>> = OnceLock::new();
74-
SEM.get_or_init(|| Arc::new(Semaphore::new(2)))
74+
SEM.get_or_init(|| Arc::new(Semaphore::new(1)))
7575
}
7676

7777
enum GraceJoinState {

0 commit comments

Comments
 (0)