mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Add -len suffix to flags.
This commit is contained in:
@@ -1142,8 +1142,8 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
.takes_value(true)
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("beacon-processor-work-queue")
|
||||
.long("beacon-processor-work-queue")
|
||||
Arg::with_name("beacon-processor-work-queue-len")
|
||||
.long("beacon-processor-work-queue-len")
|
||||
.value_name("INTEGER")
|
||||
.help("Specifies the length of the inbound event queue. Increasing this value \
|
||||
may prevent messages from being dropped at risk of overwhelming the \
|
||||
@@ -1153,8 +1153,8 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
.takes_value(true)
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("beacon-processor-reprocess-queue")
|
||||
.long("beacon-processor-reprocess-queue")
|
||||
Arg::with_name("beacon-processor-reprocess-queue-len")
|
||||
.long("beacon-processor-reprocess-queue-len")
|
||||
.value_name("INTEGER")
|
||||
.help("Specifies the length of the queue for messages requiring delayed processing. \
|
||||
Increasing this value may prevent messages from being dropped at risk of \
|
||||
|
||||
@@ -816,9 +816,9 @@ pub fn get_config<E: EthSpec>(
|
||||
}
|
||||
|
||||
client_config.beacon_processor.max_work_event_queue_len =
|
||||
clap_utils::parse_required(cli_args, "beacon-processor-work-queue")?;
|
||||
clap_utils::parse_required(cli_args, "beacon-processor-work-queue-len")?;
|
||||
client_config.beacon_processor.max_scheduled_work_queue_len =
|
||||
clap_utils::parse_required(cli_args, "beacon-processor-reprocess-queue")?;
|
||||
clap_utils::parse_required(cli_args, "beacon-processor-reprocess-queue-len")?;
|
||||
client_config
|
||||
.beacon_processor
|
||||
.max_gossip_attestation_batch_size =
|
||||
|
||||
@@ -2287,8 +2287,8 @@ fn beacon_processor() {
|
||||
|
||||
CommandLineTest::new()
|
||||
.flag("beacon-processor-max-workers", Some("1"))
|
||||
.flag("beacon-processor-work-queue", Some("2"))
|
||||
.flag("beacon-processor-reprocess-queue", Some("3"))
|
||||
.flag("beacon-processor-work-queue-len", Some("2"))
|
||||
.flag("beacon-processor-reprocess-queue-len", Some("3"))
|
||||
.flag("beacon-processor-attestation-batch-size", Some("4"))
|
||||
.flag("beacon-processor-aggregate-batch-size", Some("5"))
|
||||
.flag("disable-backfill-rate-limiting", None)
|
||||
|
||||
Reference in New Issue
Block a user