Skip to content

Commit

Permalink
Testing: Do not configure HttpClient resilience by default (#3846)
Browse files Browse the repository at this point in the history
Co-authored-by: Reuben Bond <[email protected]>
  • Loading branch information
github-actions[bot] and ReubenBond authored Apr 19, 2024
1 parent 8704d1d commit 25c0989
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,8 @@ private void OnBuilderCreatedCore(DistributedApplicationBuilder applicationBuild

private void OnBuildingCore(DistributedApplicationBuilder applicationBuilder)
{
// Patch DcpOptions configuration
var services = applicationBuilder.Services;

services.AddHttpClient();
services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler());

InterceptHostCreation(applicationBuilder);

Expand Down

0 comments on commit 25c0989

Please sign in to comment.