1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-11 01:22:57 +00:00

Add back 429 to list of retryable requests (#1599)

* add back 429 to list of retryable requests

* fix lint error
This commit is contained in:
Jonathan Tamsut 2023-12-08 11:00:44 -08:00 committed by GitHub
parent 55a05255d7
commit 88b76de595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,8 @@ class ArtifactHttpClient implements Rpc {
HttpCodes.BadGateway,
HttpCodes.GatewayTimeout,
HttpCodes.InternalServerError,
HttpCodes.ServiceUnavailable
HttpCodes.ServiceUnavailable,
HttpCodes.TooManyRequests
]
return retryableStatusCodes.includes(statusCode)