Skip to content

Commit

Permalink
timeout might not be needed
Browse files Browse the repository at this point in the history
  • Loading branch information
john-hill committed Jan 14, 2025
1 parent 99c58b6 commit 0eac376
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,7 @@ public OpenSearchServerlessClient ossManagementClientProvider() {

@Provides
public BedrockAgentClient bedrockAgentClientProvider() {
return BedrockAgentClient.builder().region(Region.US_EAST_1)
.httpClientBuilder(ApacheHttpClient.builder().connectionTimeout(Duration.ofMinutes(2))).build();
return BedrockAgentClient.builder().region(Region.US_EAST_1).build();;
}

@Provides
Expand Down

0 comments on commit 0eac376

Please sign in to comment.