You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vararbiter=meterArbiter{ticker: time.NewTicker(5e9), meters: make(map[*StandardMeter]struct{})}
// Ticks meters on the scheduled intervalfunc (ma*meterArbiter) tick() {
for {
select {
case<-ma.ticker.C:
ma.tickMeters()
}
}
}
Logs
[Goroutine 621 in state chan receive, with github.com/rcrowley/go-metrics.(*meterArbiter).tick on top of the stack:
github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x1e2dd40)
/go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20201227073835-cf1acfcdf475/meter.go:239 +0x33
created by github.com/rcrowley/go-metrics.NewMeter in goroutine 633
/go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20201227073835-cf1acfcdf475/meter.go:46 +0x18f
]
Additional Context
the issue can be workarounded by adding in integration tests package
metrics.UseNilMetrics=true
The text was updated successfully, but these errors were encountered:
Description
add go-leak detector next to integration test
Versions
https://github.com/rcrowley/go-metrics/blob/cf1acfcdf4751e0554ffa765d03e479ec491cad6/meter.go#L239
go.uber.org/goleak v1.3.0
Configuration
Logs
Additional Context
the issue can be workarounded by adding in integration tests package
The text was updated successfully, but these errors were encountered: