Skip to content

Commit

Permalink
Merge pull request #242 from aozarov/master
Browse files Browse the repository at this point in the history
add 429 to the retriable error codes
  • Loading branch information
ajkannan committed Oct 9, 2015
2 parents 8d19606 + 46d5efa commit 2ffd822
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class DefaultStorageRpc implements StorageRpc {
private final Storage storage;

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

public DefaultStorageRpc(StorageOptions options) {
HttpTransport transport = options.httpTransportFactory().create();
Expand Down

0 comments on commit 2ffd822

Please sign in to comment.