Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maciuszek committed Jan 13, 2025
1 parent 4a82e5c commit 9a8b85d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,10 @@ func (ts *timespan) CompleteWithDuration(value time.Duration) {
}

type statStore struct {
// todo: no idea how memory was managed here, when is are the entries ever gc'd?
counters sync.Map
gauges sync.Map
timers sync.Map // todo: no idea how memory was managed here before did we just expect these maps to just be replaced after it's filled?
timers sync.Map

mu sync.RWMutex
statGenerators []StatGenerator
Expand Down

0 comments on commit 9a8b85d

Please sign in to comment.