MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / GetBaseTime

Method GetBaseTime

retry/backoffhandler.go:112–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112func (b BackoffHandler) GetBaseTime() time.Duration {
113 if b.baseTime == 0 {
114 return DefaultBaseTime
115 }
116 return b.baseTime
117}
118
119// Retries returns the number of retries consumed so far.
120func (b *BackoffHandler) Retries() int {

Callers 3

GetMaxBackoffDurationMethod · 0.95
BackoffTimerMethod · 0.95
SetGracePeriodMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected