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

Method NumRetries

pkg/util/backoff/backoff.go:72–74  ·  view source on GitHub ↗

NumRetries returns the number of retries so far

()

Source from the content-addressed store, hash-verified

70
71// NumRetries returns the number of retries so far
72func (b *Backoff) NumRetries() int {
73 return b.numRetries
74}
75
76// Wait sleeps for the backoff time then increases the retry count and backoff time
77// Returns immediately if Context is terminated

Callers 2

WatchKeyMethod · 0.80
joinMembersOnRunningMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected