Fix one and hide all beacon-processor flags (#5397)

* Fix `beacon-processor-work-queue-len`

* Hide beacon-processor flags
This commit is contained in:
Michael Sproul
2024-03-23 10:24:17 +11:00
committed by GitHub
parent 5121d655f7
commit 332e1bb9e6
3 changed files with 6 additions and 20 deletions

View File

@@ -284,7 +284,7 @@ pub struct BeaconProcessorChannels<E: EthSpec> {
impl<E: EthSpec> BeaconProcessorChannels<E> {
pub fn new(config: &BeaconProcessorConfig) -> Self {
let (beacon_processor_tx, beacon_processor_rx) =
mpsc::channel(config.max_scheduled_work_queue_len);
mpsc::channel(config.max_work_event_queue_len);
let (work_reprocessing_tx, work_reprocessing_rx) =
mpsc::channel(config.max_scheduled_work_queue_len);