Retry artifact uploads on HTTP 500 (#833)
* Retry on 500 * bump package version * fix tests * Remove spurious change * fix another test * Roll back package version
This commit is contained in:
1 parent
ef0fa675fa
commit
77d96ef7df
3 files changed
+9
-8
No files matched your search
@@ -72,8 +72,9 @@ export function isRetryableStatusCode(statusCode: number | undefined): boolean {
|
||||
|
||||
const retryableStatusCodes = [
|
||||
HttpCodes.BadGateway,
|
||||
HttpCodes.ServiceUnavailable,
|
||||
HttpCodes.GatewayTimeout,
|
||||
HttpCodes.InternalServerError,
|
||||
HttpCodes.ServiceUnavailable,
|
||||
HttpCodes.TooManyRequests,
|
||||
413 // Payload Too Large
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user