mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
Make beacon processor queue sizes dynamic (#5573)
* Make beacon processor queue sizes dynamic * Update tests * lint * Review PR
This commit is contained in:
@@ -239,6 +239,11 @@ impl TestRig {
|
||||
Some(work_journal_tx),
|
||||
harness.chain.slot_clock.clone(),
|
||||
chain.spec.maximum_gossip_clock_disparity(),
|
||||
BeaconProcessorQueueLengths::from_state(
|
||||
&chain.canonical_head.cached_head().snapshot.beacon_state,
|
||||
&chain.spec,
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
|
||||
assert!(beacon_processor.is_ok());
|
||||
|
||||
Reference in New Issue
Block a user