Skip to content

Commit 46d5efa

Browse files
committed
add 429 to the retriable error codes
1 parent 7680281 commit 46d5efa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcloud-java-storage/src/main/java/com/google/gcloud/spi/DefaultStorageRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class DefaultStorageRpc implements StorageRpc {
7777
private final Storage storage;
7878

7979
// see: https://cloud.google.com/storage/docs/concepts-techniques#practices
80-
private static final Set<Integer> RETRYABLE_CODES = ImmutableSet.of(504, 503, 502, 500, 408);
80+
private static final Set<Integer> RETRYABLE_CODES = ImmutableSet.of(504, 503, 502, 500, 429, 408);
8181

8282
public DefaultStorageRpc(StorageOptions options) {
8383
HttpTransport transport = options.httpTransportFactory().create();

0 commit comments

Comments
 (0)