diff --git a/pkg/event/event.go b/pkg/event/event.go index 54139be..bc22629 100644 --- a/pkg/event/event.go +++ b/pkg/event/event.go @@ -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,