mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-19 02:01:05 +08: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:
parent
64d1b104d0
commit
55a05255d7
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user