Top 1.1% forks on proxy.golang.org
proxy.golang.org : github.com/aws/aws-sdk-go-v2/aws/retry
Package retry provides interfaces and implementations for SDK request retry behavior. This package defines Retryer interface that is used to either implement custom retry behavior or to extend the existing retry implementations provided by the SDK. This package provides a single retry implementation: Standard. Standard is the default retryer implementation used by service clients. The standard retryer is a rate limited retryer that has a configurable max attempts to limit the number of retry attempts when a retryable error occurs. In addition, the retryer uses a configurable token bucket to rate limit the retry attempts across the client, and uses an additional delay policy to limit the time between a requests subsequent attempts. By default the standard retryer uses the DefaultRetryables slice of IsErrorRetryable types to determine whether a given error is retryable. By default this list of retryables includes the following: The standard retryer will not retry a request in the event if the context associated with the request has been cancelled. Applications must handle this case explicitly if they wish to retry with a different context value. You can configure the standard retryer implementation to fit your applications by constructing a standard retryer using the NewStandard function, and providing one more functional argument that mutate the StandardOptions structure. StandardOptions provides the ability to modify the token bucket rate limiter, retryable error conditions, and the retry delay policy. For example to modify the default retry attempts for the standard retryer: A number of package functions have been provided to easily wrap retryer implementations in an implementation agnostic way. These are: The following package functions have been provided to easily satisfy different retry interfaces to further customize a given retryer's behavior:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/aws/aws-sdk-go-v2/aws/retry
Keywords:
aws
, aws-sdk
, go
, golang
License: Apache-2.0
Latest release: 29 days ago
Namespace: github.com/aws/aws-sdk-go-v2/aws
Stars: 2,531 on GitHub
Forks: 612 on GitHub
Total Commits: 2384
Committers: 101
Average commits per author: 23.604
Development Distribution Score (DDS): 0.573
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago