Documentation
¶
Overview ¶
Package retry decides which failures are worth another attempt, and how long to wait between them. It knows nothing about what the call was.
Index ¶
Constants ¶
View Source
const DefaultAttempts = 3
DefaultAttempts is how many times a call is made in total, not how many times it is retried. Three is two waits, which is enough to ride out a restart and short enough that a caller's own deadline still means something.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.