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

Method getQueue

modules/distributor/forwarder.go:127–133  ·  view source on GitHub ↗
(tenantID string)

Source from the content-addressed store, hash-verified

125}
126
127func (f *generatorForwarder) getQueue(tenantID string) (*queue.Queue[*request], bool) {
128 f.mutex.RLock()
129 defer f.mutex.RUnlock()
130
131 q, ok := f.queues[tenantID]
132 return q, ok
133}
134
135// watchOverrides watches the overrides for changes
136// and updates the queues accordingly

Callers 1

getOrCreateQueueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected