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

Method UnregisterQuerierConnection

pkg/scheduler/queue/queue.go:228–234  ·  view source on GitHub ↗
(querier string)

Source from the content-addressed store, hash-verified

226}
227
228func (q *RequestQueue) UnregisterQuerierConnection(querier string) {
229 q.connectedQuerierWorkers.Dec()
230
231 q.mtx.Lock()
232 defer q.mtx.Unlock()
233 q.queues.removeQuerierConnection(querier, time.Now())
234}
235
236func (q *RequestQueue) NotifyQuerierShutdown(querierID string) {
237 q.mtx.Lock()

Calls 2

DecMethod · 0.80