Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Retry ¶
Retry retries to run the given function until it returns no error. Returns an error after `timeout`. It uses an exponential backoff for retries, with a min of 10ms, max of 5 seconds and a factor of 1.5. Uses jitter to randomize sleep durations, to avoid contention. See more here: github.com/jpillora/backoff
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.