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

Method Dec

pkg/util/inflight.go:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (t *InflightRequestTracker) Dec() {
21 t.mu.Lock()
22 t.cnt--
23 t.mu.Unlock()
24}
25
26func (t *InflightRequestTracker) Count() int {
27 t.mu.RLock()

Callers 15

recordMethod · 0.80
tcpListenMethod · 0.80
CloseMethod · 0.80
dequeueRequestMethod · 0.80
dequeueRequestMethod · 0.80
SeriesMethod · 0.80
SeriesMethod · 0.80
TestRetryFunction · 0.80
TestFrontendRetryRequestFunction · 0.80
TestFrontendRetryEnqueueFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestRetryFunction · 0.64
TestFrontendRetryRequestFunction · 0.64
TestFrontendRetryEnqueueFunction · 0.64
HandleRequestMethod · 0.64