Skip to content

Commit 264eff1

Browse files
author
Raoni Timo de Castro Cambiaghi
authored
Fix typo (#2759)
RetryTimeoutCost is for timeouts and costs 10 while RetryCost is general and costs 5. See https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws/retry#pkg-constants
1 parent c448d43 commit 264eff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/configuring-sdk/retries-timeouts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ than what's available results in operation failure with a
144144

145145
The default implementation is parameterized as follows (how to modify each setting):
146146
- a capacity of 500 (set the value of RateLimiter on StandardOptions using [NewTokenRateLimit]({{< apiref "aws/ratelimit#NewTokenRateLimit" >}}))
147-
- a retry caused by a timeout costs 10 tokens (set RetryCost on StandardOptions)
148-
- a retry caused by other errors costs 5 tokens (set RetryTimeoutCost on StandardOptions)
147+
- a retry caused by a timeout costs 10 tokens (set RetryTimeoutCost on StandardOptions)
148+
- a retry caused by other errors costs 5 tokens (set RetryCost on StandardOptions)
149149
- an operation that succeeds on the 1st attempt adds 1 token (set NoRetryIncrement on StandardOptions)
150150
- operations that succeed on the 2nd or later attempt do not add back any tokens
151151

0 commit comments

Comments
 (0)