mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +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:
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// ParallelBatchCommits is the number of batch commits that can be in-flight before blocking.
|
// 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.
|
// the right value/formula.
|
||||||
var ParallelBatchCommits = runtime.NumCPU() * 2
|
var ParallelBatchCommits = runtime.NumCPU() * 2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user