Skip to content

Commit

Permalink
Added retries for userRateLimitExceeded and rateLimitExceeded.
Browse files Browse the repository at this point in the history
  • Loading branch information
mderka committed Mar 2, 2016
1 parent 9b6929b commit 5b7f328
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public class DnsException extends BaseServiceException {
private static final Set<Error> RETRYABLE_ERRORS = ImmutableSet.of(
new Error(500, null),
new Error(502, null),
new Error(503, null));
new Error(503, null),
new Error(null, "userRateLimitExceeded"),
new Error(null, "rateLimitExceeded"));
private static final long serialVersionUID = 490302380416260252L;

public DnsException(IOException exception) {
Expand Down

0 comments on commit 5b7f328

Please sign in to comment.