Skip to content

Commit 7d87934

Browse files
committed
save
1 parent 88465a3 commit 7d87934

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

db/recsplit/recsplit.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,8 +1276,6 @@ func (rs *RecSplit) buildWithWorkers(ctx context.Context) error {
12761276
}
12771277
// taskCh capacity matches the scratch pool size: the same N scratch objects circulate
12781278
// as both pool items and task payloads, so taskCh can never hold more than N items.
1279-
// To allow double-buffering (producer assembles bucket N+1 while workers process N),
1280-
// increase both freeScratchCh and taskCh to numWorkers*2.
12811279
taskCh := make(chan *recsplitScratch, numWorkers)
12821280
resultCh := make(chan *bucketResult, numWorkers*2)
12831281

0 commit comments

Comments
 (0)