Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTemporalStorageExponentialBackoff ¶
func GetTemporalStorageExponentialBackoff() *backoff.ExponentialBackOff
Types ¶
type BackoffHTTPRetry ¶
type BackoffHTTPRetry struct {
// contains filtered or unexported fields
}
func NewBackoffRetry ¶
func NewBackoffRetry(errMsg string, maxRetries uint64, httpClient *http.Client, logger *logrus.Entry) *BackoffHTTPRetry
NewBackoffRetry Creates an exponential backoff retry to use httpClient for connections. Will retry if a temporary error or 5xx or 429 status code in response.
Click to show internal directories.
Click to hide internal directories.