Skip to content

Commit 0cea72a

Browse files
committed
reduce worker multiplier
1 parent 6b9b864 commit 0cea72a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/store_delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (s *Store[H]) deleteParallel(ctx context.Context, from, to uint64) (err err
205205
onDelete := slices.Clone(s.onDelete)
206206
s.onDeleteMu.Unlock()
207207

208-
workerNum := runtime.NumCPU() * 8
208+
workerNum := runtime.NumCPU() * 4
209209
jobCh := make(chan uint64, workerNum)
210210
errCh := make(chan error, 1)
211211

0 commit comments

Comments
 (0)