Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed Aug 7, 2023
1 parent 6ad49e7 commit dd25a82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions executor/index_lookup_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ func (e *IndexLookUpJoin) startWorkers(ctx context.Context) {
innerCh := make(chan *lookUpJoinTask, concurrency)
e.workerWg.Add(1)
go e.newOuterWorker(resultCh, innerCh).run(workerCtx, e.workerWg)
e.workerWg.Add(concurrency)
for i := 0; i < concurrency; i++ {
go e.newInnerWorker(innerCh).run(workerCtx, e.workerWg)
innerWorker := e.newInnerWorker(innerCh)
e.workerWg.Add(1)
go innerWorker.run(workerCtx, e.workerWg)
}
}

Expand Down

0 comments on commit dd25a82

Please sign in to comment.