mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 15:27:57 +08:00
create an issue for tuning the parallelism constant
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
parent
09136e931b
commit
e41848c537
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
// ParallelBatchCommits is the number of batch commits that can be in-flight before blocking.
|
||||
// TODO: Experiment with multiple datastores, storage devices, and CPUs to find
|
||||
// TODO(#4299): Experiment with multiple datastores, storage devices, and CPUs to find
|
||||
// the right value/formula.
|
||||
var ParallelBatchCommits = runtime.NumCPU() * 2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user