Skip to content

Commit 364a978

Browse files
Fix attestation queue length metric (#6924)
We were using the wrong queue length for attestation work event metrics.
1 parent a4e3f36 commit 364a978

File tree

1 file changed

+1
-1
lines changed
  • beacon_node/beacon_processor/src

1 file changed

+1
-1
lines changed

beacon_node/beacon_processor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ impl<E: EthSpec> BeaconProcessor<E> {
14301430

14311431
if let Some(modified_queue_id) = modified_queue_id {
14321432
let queue_len = match modified_queue_id {
1433-
WorkType::GossipAttestation => aggregate_queue.len(),
1433+
WorkType::GossipAttestation => attestation_queue.len(),
14341434
WorkType::UnknownBlockAttestation => unknown_block_attestation_queue.len(),
14351435
WorkType::GossipAttestationBatch => 0, // No queue
14361436
WorkType::GossipAggregate => aggregate_queue.len(),

0 commit comments

Comments
 (0)