Skip to content

Commit

Permalink
Add 429 http status code to Wave retriable errors
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Aug 10, 2023
1 parent 621c966 commit a8b8c6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ class WaveClient {
return Failsafe.with(policy).get(action)
}

static private List<Integer> SERVER_ERRORS = [502,503,504]
static private final List<Integer> SERVER_ERRORS = [429,502,503,504]

protected HttpResponse<String> httpSend(HttpRequest req) {
return safeApply(() -> {
Expand Down

0 comments on commit a8b8c6c

Please sign in to comment.