From 770393b94e330a5866094255374ef1598558b8c9 Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 8 Dec 2020 11:12:11 +0100 Subject: [PATCH] bridge: rename misleading "pending" counter It includes completed transactions that haven't been timed out yet. --- bridge/pkg/processor/cleanup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/pkg/processor/cleanup.go b/bridge/pkg/processor/cleanup.go index 80bf7efb4..ca8116586 100644 --- a/bridge/pkg/processor/cleanup.go +++ b/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)