reset event.go

Signed-off-by: Chai Nadig <chaitanya.nadig@gmail.com>
This commit is contained in:
Chai Nadig 2020-05-13 23:57:54 -07:00
parent 4eac64eb59
commit cc10478f61

View file

@ -84,7 +84,6 @@ func NewEventQueue(c chan Events, flushThreshold int, flushInterval time.Duratio
eq := &EventQueue{
C: c,
flushThreshold: flushThreshold,
flushInterval: flushInterval,
flushTicker: ticker,
q: make([]Event, 0, flushThreshold),
eventsFlushed: eventsFlushed,