Skip to content

Commit

Permalink
fix: remember to init skips as well for metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Nov 29, 2023
1 parent acd87ba commit 83d200c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func newMetrics(options metricsOptions, channels metricsChannels) *metrics {
closed: make(chan struct{}),
maxSkips: 10,
errors: 0,
skips: 0,
}
ctx, cancel := context.WithCancel(context.Background())
m.ctx = ctx
Expand Down

0 comments on commit 83d200c

Please sign in to comment.