Skip to content

Commit

Permalink
Fix node shutdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrm50 committed Nov 2, 2023
1 parent cf40c20 commit 763e768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/metrics/collector/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (m *Metric) schedulePruning(labelValues []string) {

func (m *Metric) shutdown() {
if m.pruningExecutor != nil {
m.pruningExecutor.Shutdown()
m.pruningExecutor.Shutdown(timed.CancelPendingElements)
}
}

Expand Down

0 comments on commit 763e768

Please sign in to comment.