diff --git a/tools/code/common/Http.cs b/tools/code/common/Http.cs index 91c38e9e..40961367 100644 --- a/tools/code/common/Http.cs +++ b/tools/code/common/Http.cs @@ -385,6 +385,7 @@ private static bool ShouldRetryInner(HttpMessage message, Exception? exception) { ({ Response.Status: 422 or 409 }, _) when HasManagementApiRequestFailedError(message.Response) => true, ({ Response.Status: 412 }, _) => true, + ({ Response.Status: 429 }, _) => true, _ => false }; } @@ -430,4 +431,4 @@ public override async ValueTask ProcessAsync(HttpMessage message, ReadOnlyMemory await ProcessNextAsync(message, pipeline); } -} \ No newline at end of file +}