Skip to content

Commit 77d0308

Browse files
authored
Merge pull request #1561 from dagnir/additional-retry-codes
Add additional retry error codes
2 parents c44951d + bce130d commit 77d0308

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/aws-core/src/main/java/software/amazon/awssdk/awscore/internal/AwsErrorCode.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public final class AwsErrorCode {
4444
throttlingErrorCodes.add("BandwidthLimitExceeded");
4545
throttlingErrorCodes.add("RequestThrottled");
4646
throttlingErrorCodes.add("RequestThrottledException");
47+
throttlingErrorCodes.add("LimitExceededException");
4748
THROTTLING_ERROR_CODES = unmodifiableSet(throttlingErrorCodes);
4849

4950
Set<String> definiteClockSkewErrorCodes = new HashSet<>(3);
@@ -60,6 +61,8 @@ public final class AwsErrorCode {
6061

6162
Set<String> retryableErrorCodes = new HashSet<>(1);
6263
retryableErrorCodes.add("PriorRequestNotComplete");
64+
retryableErrorCodes.add("RequestTimeout");
65+
retryableErrorCodes.add("RequestTimeoutException");
6366
RETRYABLE_ERROR_CODES = unmodifiableSet(retryableErrorCodes);
6467
}
6568

0 commit comments

Comments
 (0)