MCPcopy Create free account
hub / github.com/cortexproject/cortex / QuerierDisconnecting

Method QuerierDisconnecting

pkg/scheduler/queue/queue.go:243–245  ·  view source on GitHub ↗

When querier is waiting for next request, this unblocks the method.

()

Source from the content-addressed store, hash-verified

241
242// When querier is waiting for next request, this unblocks the method.
243func (q *RequestQueue) QuerierDisconnecting() {
244 q.cond.Broadcast()
245}
246
247func (q *RequestQueue) GetConnectedQuerierWorkersMetric() float64 {
248 return float64(q.connectedQuerierWorkers.Load())

Callers 2

QuerierLoopMethod · 0.80
ProcessMethod · 0.80

Calls 1

BroadcastMethod · 0.45

Tested by

no test coverage detected