1
0
Fork 0

Remove 429 request from list of retry-able status codes (#1597)

* remove 429 request from retryable

* remove 413

* make linter happy
pull/1598/head
Jonathan Tamsut 2023-12-07 13:22:17 -08:00 committed by GitHub
parent 64d1b104d0
commit 55a05255d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -132,9 +132,7 @@ class ArtifactHttpClient implements Rpc {
HttpCodes.BadGateway,
HttpCodes.GatewayTimeout,
HttpCodes.InternalServerError,
HttpCodes.ServiceUnavailable,
HttpCodes.TooManyRequests,
413 // Payload Too Large
HttpCodes.ServiceUnavailable
]
return retryableStatusCodes.includes(statusCode)