go-metrics icon indicating copy to clipboard operation
go-metrics copied to clipboard

fix(meter): arbiter tick goroutine leak

Open napallday opened this issue 2 years ago • 0 comments

arbiter will tick periodically forever.

Normally it wouldn't cause any issue. But it's very inconvenient for users if Goroutine leak detector(like https://github.com/uber-go/goleak) is used in testing phase.

btw, I also change the nested lock in arbiter for better navigation.

napallday avatar Aug 19 '23 15:08 napallday