forked from mirrors/statsd_exporter
reset event.go
Signed-off-by: Chai Nadig <chaitanya.nadig@gmail.com>
This commit is contained in:
parent
4eac64eb59
commit
cc10478f61
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ func NewEventQueue(c chan Events, flushThreshold int, flushInterval time.Duratio
|
||||||
eq := &EventQueue{
|
eq := &EventQueue{
|
||||||
C: c,
|
C: c,
|
||||||
flushThreshold: flushThreshold,
|
flushThreshold: flushThreshold,
|
||||||
flushInterval: flushInterval,
|
|
||||||
flushTicker: ticker,
|
flushTicker: ticker,
|
||||||
q: make([]Event, 0, flushThreshold),
|
q: make([]Event, 0, flushThreshold),
|
||||||
eventsFlushed: eventsFlushed,
|
eventsFlushed: eventsFlushed,
|
||||||
|
|
Loading…
Reference in a new issue