Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set default add index concurrency to 8 #1829

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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