mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Add batch size CLI flags
This commit is contained in:
@@ -2289,6 +2289,8 @@ fn beacon_processor() {
|
||||
.flag("beacon-processor-max-workers", Some("1"))
|
||||
.flag("beacon-processor-work-queue", Some("2"))
|
||||
.flag("beacon-processor-reprocess-queue", Some("3"))
|
||||
.flag("beacon-processor-attestation-batch-size", Some("4"))
|
||||
.flag("beacon-processor-aggregate-batch-size", Some("5"))
|
||||
.flag("disable-backfill-rate-limiting", None)
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| {
|
||||
@@ -2298,6 +2300,8 @@ fn beacon_processor() {
|
||||
max_workers: 1,
|
||||
max_work_event_queue_len: 2,
|
||||
max_scheduled_work_queue_len: 3,
|
||||
max_gossip_attestation_batch_size: 4,
|
||||
max_gossip_aggregate_batch_size: 5,
|
||||
enable_backfill_rate_limiting: false
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user