Skip to content

Commit 332e1bb

Browse files
Fix one and hide all beacon-processor flags (#5397)
* Fix `beacon-processor-work-queue-len` * Hide beacon-processor flags
1 parent 5121d65 commit 332e1bb

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

beacon_node/beacon_processor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ pub struct BeaconProcessorChannels<E: EthSpec> {
284284
impl<E: EthSpec> BeaconProcessorChannels<E> {
285285
pub fn new(config: &BeaconProcessorConfig) -> Self {
286286
let (beacon_processor_tx, beacon_processor_rx) =
287-
mpsc::channel(config.max_scheduled_work_queue_len);
287+
mpsc::channel(config.max_work_event_queue_len);
288288
let (work_reprocessing_tx, work_reprocessing_rx) =
289289
mpsc::channel(config.max_scheduled_work_queue_len);
290290

beacon_node/src/cli.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
12411241
this value may increase resource consumption. Reducing the value \
12421242
may result in decreased resource usage and diminished performance. The \
12431243
default value is the number of logical CPU cores on the host.")
1244+
.hidden(true)
12441245
.takes_value(true)
12451246
)
12461247
.arg(
@@ -1251,6 +1252,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
12511252
Higher values may prevent messages from being dropped while lower values \
12521253
may help protect the node from becoming overwhelmed.")
12531254
.default_value("16384")
1255+
.hidden(true)
12541256
.takes_value(true)
12551257
)
12561258
.arg(
@@ -1260,6 +1262,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
12601262
.help("Specifies the length of the queue for messages requiring delayed processing. \
12611263
Higher values may prevent messages from being dropped while lower values \
12621264
may help protect the node from becoming overwhelmed.")
1265+
.hidden(true)
12631266
.default_value("12288")
12641267
.takes_value(true)
12651268
)
@@ -1270,6 +1273,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
12701273
.help("Specifies the number of gossip attestations in a signature verification batch. \
12711274
Higher values may reduce CPU usage in a healthy network whilst lower values may \
12721275
increase CPU usage in an unhealthy or hostile network.")
1276+
.hidden(true)
12731277
.default_value("64")
12741278
.takes_value(true)
12751279
)
@@ -1281,6 +1285,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
12811285
verification batch. \
12821286
Higher values may reduce CPU usage in a healthy network while lower values may \
12831287
increase CPU usage in an unhealthy or hostile network.")
1288+
.hidden(true)
12841289
.default_value("64")
12851290
.takes_value(true)
12861291
)

book/src/help_bn.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -125,25 +125,6 @@ OPTIONS:
125125
--auto-compact-db <auto-compact-db>
126126
Enable or disable automatic compaction of the database on finalization. [default: true]
127127
128-
--beacon-processor-aggregate-batch-size <INTEGER>
129-
Specifies the number of gossip aggregate attestations in a signature verification batch. Higher values may
130-
reduce CPU usage in a healthy network while lower values may increase CPU usage in an unhealthy or hostile
131-
network. [default: 64]
132-
--beacon-processor-attestation-batch-size <INTEGER>
133-
Specifies the number of gossip attestations in a signature verification batch. Higher values may reduce CPU
134-
usage in a healthy network whilst lower values may increase CPU usage in an unhealthy or hostile network.
135-
[default: 64]
136-
--beacon-processor-max-workers <INTEGER>
137-
Specifies the maximum concurrent tasks for the task scheduler. Increasing this value may increase resource
138-
consumption. Reducing the value may result in decreased resource usage and diminished performance. The
139-
default value is the number of logical CPU cores on the host.
140-
--beacon-processor-reprocess-queue-len <INTEGER>
141-
Specifies the length of the queue for messages requiring delayed processing. Higher values may prevent
142-
messages from being dropped while lower values may help protect the node from becoming overwhelmed.
143-
[default: 12288]
144-
--beacon-processor-work-queue-len <INTEGER>
145-
Specifies the length of the inbound event queue. Higher values may prevent messages from being dropped while
146-
lower values may help protect the node from becoming overwhelmed. [default: 16384]
147128
--blob-prune-margin-epochs <EPOCHS>
148129
The margin for blob pruning in epochs. The oldest blobs are pruned up until data_availability_boundary -
149130
blob_prune_margin_epochs. [default: 0]

0 commit comments

Comments
 (0)