MCPcopy
hub / github.com/grafana/tempo / StartWorkers

Method StartWorkers

modules/distributor/queue/queue.go:107–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func (m *Queue[T]) StartWorkers() {
108 for i := 0; i < m.workerCount; i++ {
109 m.wg.Add(1)
110
111 go m.worker()
112 }
113}
114
115// TenantID returns the tenant id.
116func (m *Queue[T]) TenantID() string {

Callers 4

newQueueListFunction · 0.80
newStartedQueueFunction · 0.80

Calls 2

workerMethod · 0.95
AddMethod · 0.65

Tested by 2

newStartedQueueFunction · 0.64