mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
e6ead667b3
* added pkg/util/rinq package to handle queueing of notifications * fix linters * Fix typo in comment Co-authored-by: Dan Cech <dcech@grafana.com> * improve allocation strategy for Enqueue; remove unnecessary clearing of slice * Update pkg/util/ringq/dyn_chan_bench_test.go Co-authored-by: Dan Cech <dcech@grafana.com> * Update pkg/util/ringq/ringq.go Co-authored-by: Dan Cech <dcech@grafana.com> * refactor to move stats and shrinking into Ring * add missing error assertions in tests * add missing error assertions in tests and linting issues * simplify controller closed check * improve encapsulation of internal state in Ring * use (*Ring).Len for clarity instead of stats --------- Co-authored-by: Dan Cech <dcech@grafana.com> |
||
---|---|---|
.. | ||
adaptive_chan_bench_test.go | ||
adaptive_chan_test.go | ||
adaptive_chan.go | ||
ring_test.go | ||
ring.go |