Skip to content

Commit 69030f6

Browse files
authored
fix: set default add index concurrency to 8 (#1829)
* fix: set default add index concurrency to 8 * Update docs
1 parent a63faef commit 69030f6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: node/config/def.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424
var MaxTraversalLinks uint64 = 32 * (1 << 20)
2525

2626
const (
27-
DefaultAddIndexConcurrency = 1
27+
DefaultAddIndexConcurrency = 8
2828
)
2929

3030
func init() {

Diff for: node/config/doc_gen.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: node/config/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ type LocalIndexDirectoryConfig struct {
419419
// is in the piece, and adds the index to the local index directory.
420420
ParallelAddIndexLimit int
421421
// AddIndexConcurrency sets the number of concurrent tasks that each add index operation is split into.
422-
// This setting is usefull to better utilise bandwidth between boostd and boost-data. The default value is 4.
422+
// This setting is usefull to better utilise bandwidth between boostd and boost-data. The default value is 8.
423423
AddIndexConcurrency int
424424
// The port that the embedded local index directory data service runs on.
425425
// Set this value to zero to disable the embedded local index directory data service

0 commit comments

Comments
 (0)