Skip to content

Commit

Permalink
Testing: Do not configure HttpClient resilience by default (#3845)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond authored Apr 19, 2024
1 parent cea412a commit a16a383
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 a16a383

Please sign in to comment.