File tree Expand file tree Collapse file tree
Mobile.Bff.Shopping/aggregator
Web.Bff.Shopping/aggregator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,11 +149,11 @@ public static IServiceCollection AddHttpServices(this IServiceCollection service
149149 //register http services
150150 var retriesWithExponentialBackoff = HttpPolicyExtensions
151151 . HandleTransientHttpError ( )
152- . WaitAndRetryAsync ( 7 , retryAttempt => TimeSpan . FromSeconds ( Math . Pow ( 2 , retryAttempt ) ) ) ;
152+ . WaitAndRetryAsync ( 6 , retryAttempt => TimeSpan . FromSeconds ( Math . Pow ( 2 , retryAttempt ) ) ) ;
153153
154154 var circuitBreaker = HttpPolicyExtensions
155155 . HandleTransientHttpError ( )
156- . CircuitBreakerAsync ( 6 , TimeSpan . FromSeconds ( 30 ) ) ;
156+ . CircuitBreakerAsync ( 5 , TimeSpan . FromSeconds ( 30 ) ) ;
157157
158158 services . AddHttpClient < IBasketService , BasketService > ( )
159159 . AddHttpMessageHandler < HttpClientAuthorizationDelegatingHandler > ( )
Original file line number Diff line number Diff line change @@ -154,11 +154,11 @@ public static IServiceCollection AddApplicationServices(this IServiceCollection
154154 . HandleTransientHttpError ( )
155155 . Or < TimeoutRejectedException > ( )
156156 . OrResult ( message => message . StatusCode == System . Net . HttpStatusCode . NotFound )
157- . WaitAndRetryAsync ( 7 , retryAttempt => TimeSpan . FromSeconds ( Math . Pow ( 2 , retryAttempt ) ) ) ;
157+ . WaitAndRetryAsync ( 6 , retryAttempt => TimeSpan . FromSeconds ( Math . Pow ( 2 , retryAttempt ) ) ) ;
158158
159159 var circuitBreaker = HttpPolicyExtensions
160160 . HandleTransientHttpError ( )
161- . CircuitBreakerAsync ( 6 , TimeSpan . FromSeconds ( 30 ) ) ;
161+ . CircuitBreakerAsync ( 5 , TimeSpan . FromSeconds ( 30 ) ) ;
162162
163163 services . AddHttpClient < IBasketService , BasketService > ( )
164164 . AddHttpMessageHandler < HttpClientAuthorizationDelegatingHandler > ( )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -174,11 +174,11 @@ public static IServiceCollection AddHttpClientServices(this IServiceCollection s
174174 var retriesWithExponentialBackoff = HttpPolicyExtensions
175175 . HandleTransientHttpError ( )
176176 . OrResult ( msg=> msg . StatusCode == System . Net . HttpStatusCode . NotFound )
177- . WaitAndRetryAsync ( 5 , retryAttempt => TimeSpan . FromSeconds ( Math . Pow ( 2 , retryAttempt ) ) ) ;
177+ . WaitAndRetryAsync ( 6 , retryAttempt => TimeSpan . FromSeconds ( Math . Pow ( 2 , retryAttempt ) ) ) ;
178178
179179 var circuitBreaker = HttpPolicyExtensions
180180 . HandleTransientHttpError ( )
181- . CircuitBreakerAsync ( 6 , TimeSpan . FromSeconds ( 30 ) ) ;
181+ . CircuitBreakerAsync ( 5 , TimeSpan . FromSeconds ( 30 ) ) ;
182182
183183 //register delegating handlers
184184 services . AddTransient < HttpClientAuthorizationDelegatingHandler > ( ) ;
You can’t perform that action at this time.
0 commit comments