From 55a05255d7b8de00e3d0a91ccefe29e9d04a5441 Mon Sep 17 00:00:00 2001 From: Jonathan Tamsut Date: Thu, 7 Dec 2023 13:22:17 -0800 Subject: [PATCH] Remove 429 request from list of retry-able status codes (#1597) * remove 429 request from retryable * remove 413 * make linter happy --- .../artifact/src/internal/shared/artifact-twirp-client.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/artifact/src/internal/shared/artifact-twirp-client.ts b/packages/artifact/src/internal/shared/artifact-twirp-client.ts index 9166e799..4ad3f970 100644 --- a/packages/artifact/src/internal/shared/artifact-twirp-client.ts +++ b/packages/artifact/src/internal/shared/artifact-twirp-client.ts @@ -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)