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

Method processStrategyEventForever

controller/notify.go:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (c *Controller) processStrategyEventForever() {
43 c.eventQueuesMutex.RLock()
44 defer c.eventQueuesMutex.RUnlock()
45 for _, queue := range c.eventQueues {
46 lg.Info("process queue event %s", queue.name)
47 go processSingleQueue(queue)
48 }
49}
50
51//TODO: fix when product delete, goroutine leak
52func processSingleQueue(queue *EventPool) {

Callers 1

InitControllerFunction · 0.80

Calls 1

processSingleQueueFunction · 0.85

Tested by

no test coverage detected