Skip to content

Commit 865b5ef

Browse files
committed
increase multiplier
1 parent 68c72a4 commit 865b5ef

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
@@ -159,7 +159,7 @@ func (s *Store[H]) delete(ctx context.Context, height uint64, batch datastore.Ba
159159

160160
// workerNum defines how many parallel delete workers to run
161161
// Scales of number of CPUs configred for the process.
162-
var workerNum = runtime.GOMAXPROCS(-1) * 2
162+
var workerNum = runtime.GOMAXPROCS(-1) * 3
163163

164164
// deleteParallel deletes [from:to) header range from the store in parallel.
165165
// It gracefully handles context and errors attempting to save interrupted progress.

0 commit comments

Comments
 (0)