Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Apr 20, 2024
1 parent c4af7cb commit 10ef4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (g *Metrics) AcceptBatches(status string, batchSize uint64) {
}

func (g *Metrics) collectOnchainMetrics() {
ticker := time.NewTicker(time.Duration(uint64(g.onchainMetricsInterval) * time.Second))
ticker := time.NewTicker(time.Duration(g.onchainMetricsInterval) * time.Second)
defer ticker.Stop()

// 3 chain RPC calls in each cycle.
Expand Down

0 comments on commit 10ef4b4

Please sign in to comment.