Skip to content

Commit

Permalink
Retry on 504 Gateway timeout http status code. (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjewer authored and nitisht committed May 15, 2019
1 parent 18cecba commit 1add5d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ var retryableHTTPStatusCodes = map[int]struct{}{
http.StatusInternalServerError: {},
http.StatusBadGateway: {},
http.StatusServiceUnavailable: {},
http.StatusGatewayTimeout: {},
// Add more HTTP status codes here.
}

Expand Down

0 comments on commit 1add5d5

Please sign in to comment.