mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs: clarify max rpc tracing requests (#11796)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
@ -320,7 +320,7 @@ fn preprocess_help(s: &str) -> Cow<'_, str> {
|
||||
(r"default: reth/.*/\w+", "default: reth/<VERSION>/<OS>"),
|
||||
// Remove rpc.max-tracing-requests default value
|
||||
(
|
||||
r"(rpc.max-tracing-requests <COUNT>\n.*\n.*\n.*)\[default: \d+\]",
|
||||
r"(rpc.max-tracing-requests <COUNT>\n.*\n.*\n.*\n.*\n.*)\[default: \d+\]",
|
||||
r"$1[default: <NUM CPU CORES-2>]",
|
||||
),
|
||||
];
|
||||
|
||||
4
book/cli/reth/node.md
vendored
4
book/cli/reth/node.md
vendored
@ -331,7 +331,9 @@ RPC:
|
||||
[default: 500]
|
||||
|
||||
--rpc.max-tracing-requests <COUNT>
|
||||
Maximum number of concurrent tracing requests
|
||||
Maximum number of concurrent tracing requests.
|
||||
|
||||
By default this chooses a sensible value based on the number of available cores. Tracing requests are generally CPU bound. Choosing a value that is higher than the available CPU cores can have a negative impact on the performance of the node and affect the node's ability to maintain sync.
|
||||
|
||||
[default: <NUM CPU CORES-2>]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user