mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Fix attestation queue length metric (#6924)
We were using the wrong queue length for attestation work event metrics.
This commit is contained in:
@@ -1430,7 +1430,7 @@ impl<E: EthSpec> BeaconProcessor<E> {
|
||||
|
||||
if let Some(modified_queue_id) = modified_queue_id {
|
||||
let queue_len = match modified_queue_id {
|
||||
WorkType::GossipAttestation => aggregate_queue.len(),
|
||||
WorkType::GossipAttestation => attestation_queue.len(),
|
||||
WorkType::UnknownBlockAttestation => unknown_block_attestation_queue.len(),
|
||||
WorkType::GossipAttestationBatch => 0, // No queue
|
||||
WorkType::GossipAggregate => aggregate_queue.len(),
|
||||
|
||||
Reference in New Issue
Block a user