Browse Source

bridge: rename misleading "pending" counter

It includes completed transactions that haven't been timed out yet.
Leo 5 years ago
parent
commit
770393b94e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bridge/pkg/processor/cleanup.go

+ 1 - 1
bridge/pkg/processor/cleanup.go

@@ -9,7 +9,7 @@ import (
 
 // handleCleanup handles periodic retransmissions and cleanup of VAAs
 func (p *Processor) handleCleanup(ctx context.Context) {
-	p.logger.Info("aggregation state summary", zap.Int("pending", len(p.state.vaaSignatures)))
+	p.logger.Info("aggregation state summary", zap.Int("cached", len(p.state.vaaSignatures)))
 
 	for hash, s := range p.state.vaaSignatures {
 		delta := time.Now().Sub(s.firstObserved)