MCPcopy Index your code
hub / github.com/riverqueue/river / DefaultClientRetryPolicy

Struct DefaultClientRetryPolicy

retry_policy.go:29–31  ·  view source on GitHub ↗

DefaultClientRetryPolicy is River's default retry policy.

Source from the content-addressed store, hash-verified

27
28// DefaultClientRetryPolicy is River's default retry policy.
29type DefaultClientRetryPolicy struct {
30 timeNowFunc func() time.Time
31}
32
33// NextRetry gets the next retry given for the given job, accounting for when it
34// was last attempted and what attempt number that was. Reschedules using a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected