bridge: rename misleading "pending" counter

It includes completed transactions that haven't been timed out yet.
This commit is contained in:
Leo 2020-12-08 11:12:11 +01:00
parent 1c4ed7839d
commit 770393b94e
1 changed files with 1 additions and 1 deletions

View File

@ -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)