Documentation
¶
Overview ¶
Package retry describes expected backpressure independently of a job runner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetryAfter ¶
RetryAfter accepts both HTTP forms and never shortens the server's wait.
func Transient ¶ added in v0.2.11
Transient recognizes only known upstream failures. Every independent joined cause must qualify, so a simultaneous database/programming failure stays loud. Callers must separately check their parent context and remaining retry budget.
Types ¶
type Deferred ¶
Deferred means admission control asked us to wait. It is not a failed operation, and a queue must reschedule it without consuming failure attempts.
Click to show internal directories.
Click to hide internal directories.