Skip to content

Commit 70cd9fa

Browse files
committed
Update retry condition handling in RetryDelayCalculator to include additional HTTP status codes
1 parent d426b96 commit 70cd9fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Contentstack.Management.Core/Runtime/Pipeline/RetryHandler/RetryDelayCalculator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public bool ShouldRetryHttpStatusCode(HttpStatusCode statusCode, RetryConfigurat
111111
}
112112

113113
// Default retry condition: 429, 500, 502, 503, 504
114-
return statusCode == HttpStatusCode.TooManyRequests || // TooManyRequests
114+
return statusCode == HttpStatusCode.TooManyRequests ||
115115
statusCode == HttpStatusCode.InternalServerError ||
116116
statusCode == HttpStatusCode.BadGateway ||
117117
statusCode == HttpStatusCode.ServiceUnavailable ||

0 commit comments

Comments
 (0)