MCPcopy Create free account
hub / github.com/TalkingData/owl / NewEventPool

Function NewEventPool

controller/pool.go:135–137  ·  view source on GitHub ↗
(name string, size int)

Source from the content-addressed store, hash-verified

133}
134
135func NewEventPool(name string, size int) *EventPool {
136 return &EventPool{name, make(chan *QueueEvent, size), time.Now(), false}
137}
138
139func (ep *EventPool) putQueueEvent(event *QueueEvent) error {
140 select {

Callers 1

refreshQueueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected