MCPcopy
hub / github.com/cortexlabs/cortex / inFlight

Method inFlight

pkg/activator/api_activator.go:81–83  ·  view source on GitHub ↗

inFlight returns the amount of in-flight requests of the breaker

()

Source from the content-addressed store, hash-verified

79
80// inFlight returns the amount of in-flight requests of the breaker
81func (a *apiActivator) inFlight() int64 {
82 return a.breaker.InFlight()
83}
84
85type readinessTracker struct {
86 mux sync.RWMutex

Callers 1

TryMethod · 0.80

Calls 1

InFlightMethod · 0.80

Tested by

no test coverage detected