MCPcopy Create free account
hub / github.com/coder/coder / newRelayRetryState

Function newRelayRetryState

enterprise/coderd/x/chatd/chatd.go:641–645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

639}
640
641func newRelayRetryState() *relayRetryState {
642 return &relayRetryState{
643 retrier: retry.New(relayRetryFloor, relayRetryCeil),
644 }
645}
646
647// next returns the delay before the next dial and sets giveUp once
648// attempts exceed relayMaxRetries. Adapts the math from

Callers 1

Calls 1

NewMethod · 0.65

Tested by

no test coverage detected