mirror of https://github.com/actions/toolkit
Remove 429 request from list of retry-able status codes (#1597)
* remove 429 request from retryable * remove 413 * make linter happypull/1598/head
parent
64d1b104d0
commit
55a05255d7
|
@ -132,9 +132,7 @@ class ArtifactHttpClient implements Rpc {
|
||||||
HttpCodes.BadGateway,
|
HttpCodes.BadGateway,
|
||||||
HttpCodes.GatewayTimeout,
|
HttpCodes.GatewayTimeout,
|
||||||
HttpCodes.InternalServerError,
|
HttpCodes.InternalServerError,
|
||||||
HttpCodes.ServiceUnavailable,
|
HttpCodes.ServiceUnavailable
|
||||||
HttpCodes.TooManyRequests,
|
|
||||||
413 // Payload Too Large
|
|
||||||
]
|
]
|
||||||
|
|
||||||
return retryableStatusCodes.includes(statusCode)
|
return retryableStatusCodes.includes(statusCode)
|
||||||
|
|
Loading…
Reference in New Issue