Skip to content

Commit

Permalink
Adjust for v14 go/sync2
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Oct 6, 2023
1 parent d356459 commit da805ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/stats/timings.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func NewTimings(name, help, label string, categories ...string) *Timings {
func (t *Timings) Reset() {
t.mu.RLock()
t.histograms = make(map[string]*Histogram)
t.totalCount.Store(0)
t.totalTime.Store(0)
t.totalCount.Set(0)
t.totalTime.Set(0)
t.mu.RUnlock()
}

Expand Down

0 comments on commit da805ff

Please sign in to comment.