Skip to content

Commit

Permalink
fix: set default add index concurrency to 8 (#1829)
Browse files Browse the repository at this point in the history
* fix: set default add index concurrency to 8

* Update docs
  • Loading branch information
ischasny committed Nov 29, 2023
1 parent a63faef commit 69030f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/config/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
var MaxTraversalLinks uint64 = 32 * (1 << 20)

const (
DefaultAddIndexConcurrency = 1
DefaultAddIndexConcurrency = 8
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion node/config/doc_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ type LocalIndexDirectoryConfig struct {
// is in the piece, and adds the index to the local index directory.
ParallelAddIndexLimit int
// AddIndexConcurrency sets the number of concurrent tasks that each add index operation is split into.
// This setting is usefull to better utilise bandwidth between boostd and boost-data. The default value is 4.
// This setting is usefull to better utilise bandwidth between boostd and boost-data. The default value is 8.
AddIndexConcurrency int
// The port that the embedded local index directory data service runs on.
// Set this value to zero to disable the embedded local index directory data service
Expand Down

0 comments on commit 69030f6

Please sign in to comment.