From 88b76de595daf09bb2e034be3dd69d728e8df98b Mon Sep 17 00:00:00 2001 From: Jonathan Tamsut Date: Fri, 8 Dec 2023 11:00:44 -0800 Subject: [PATCH] Add back 429 to list of retryable requests (#1599) * add back 429 to list of retryable requests * fix lint error --- packages/artifact/src/internal/shared/artifact-twirp-client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/shared/artifact-twirp-client.ts b/packages/artifact/src/internal/shared/artifact-twirp-client.ts index 4ad3f970..f5f72775 100644 --- a/packages/artifact/src/internal/shared/artifact-twirp-client.ts +++ b/packages/artifact/src/internal/shared/artifact-twirp-client.ts @@ -132,7 +132,8 @@ class ArtifactHttpClient implements Rpc { HttpCodes.BadGateway, HttpCodes.GatewayTimeout, HttpCodes.InternalServerError, - HttpCodes.ServiceUnavailable + HttpCodes.ServiceUnavailable, + HttpCodes.TooManyRequests ] return retryableStatusCodes.includes(statusCode)