Changed description of request_aggregator_threads#4477
Merged
dsiganos merged 2 commits intonanocurrency:developfrom Mar 12, 2024
Merged
Changed description of request_aggregator_threads#4477dsiganos merged 2 commits intonanocurrency:developfrom
dsiganos merged 2 commits intonanocurrency:developfrom
Conversation
clemahieu
reviewed
Mar 11, 2024
nano/node/nodeconfig.cpp
Outdated
| toml.put ("frontiers_confirmation", serialize_frontiers_confirmation (frontiers_confirmation), "Mode controlling frontier confirmation rate.\ntype:string,{auto,always,disabled}"); | ||
| toml.put ("max_queued_requests", max_queued_requests, "Limit for number of queued confirmation requests for one channel, after which new requests are dropped until the queue drops below this value.\ntype:uint32"); | ||
| toml.put ("request_aggregator_threads", request_aggregator_threads, "Number of threads to dedicate to request aggregator. The default value is the minimum of 4 or the number returned by nano::hardware_concurency(), which is the number of hardware threads or the value of the environment variable NANO_HARDWARE_CONCURRENCY."); | ||
| toml.put ("request_aggregator_threads", request_aggregator_threads, "Number of threads to dedicate to request aggregator. Defaults to 4 threads if hardware allows, or else all available threads."); |
Contributor
There was a problem hiding this comment.
Should this be "Defaults to using a thread per core, up to a maximum of 4"
Contributor
Author
There was a problem hiding this comment.
Most cpu's have more threads than cores so I think it's better to just refer to what hardware allows, or maybe what cpu allows.
Contributor
Author
There was a problem hiding this comment.
Maybe "Defaults to using all cpu threads, up to a maximum of 4" ?
dsiganos
approved these changes
Mar 12, 2024
dsiganos
approved these changes
Mar 12, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.