bridge: rename misleading "pending" counter
It includes completed transactions that haven't been timed out yet.
This commit is contained in:
parent
1c4ed7839d
commit
770393b94e
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
// handleCleanup handles periodic retransmissions and cleanup of VAAs
|
// handleCleanup handles periodic retransmissions and cleanup of VAAs
|
||||||
func (p *Processor) handleCleanup(ctx context.Context) {
|
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 {
|
for hash, s := range p.state.vaaSignatures {
|
||||||
delta := time.Now().Sub(s.firstObserved)
|
delta := time.Now().Sub(s.firstObserved)
|
||||||
|
|
Loading…
Reference in New Issue