1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-10 17:12:54 +00:00

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

* remove 429 request from retryable

* remove 413

* make linter happy
This commit is contained in:
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

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)