Skip to content

Changed description of request_aggregator_threads#4477

Merged
dsiganos merged 2 commits intonanocurrency:developfrom
RickiNano:toml-description-rename
Mar 12, 2024
Merged

Changed description of request_aggregator_threads#4477
dsiganos merged 2 commits intonanocurrency:developfrom
RickiNano:toml-description-rename

Conversation

@RickiNano
Copy link
Copy Markdown
Contributor

No description provided.

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.");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be "Defaults to using a thread per core, up to a maximum of 4"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "Defaults to using all cpu threads, up to a maximum of 4" ?

@dsiganos dsiganos merged commit da4e9eb into nanocurrency:develop Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants