Skip to content

Commit

Permalink
Fix attestation queue length metric (#6924)
Browse files Browse the repository at this point in the history
We were using the wrong queue length for attestation work event metrics.
  • Loading branch information
michaelsproul authored Feb 6, 2025
1 parent a4e3f36 commit 364a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/beacon_processor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 364a978

Please sign in to comment.