Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Aug 9, 2024
1 parent 78d8bbd commit ea5409a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public int getMaxPendingConnectionAcquisitions() {
/**
* If set, {@link HttpClientConnectionManager#acquireConnection()} will fail with
* AWS_ERROR_HTTP_CONNECTION_MANAGER_MAX_PENDING_ACQUISITIONS_EXCEEDED if there are already pending acquisitions
* equal to `max_pending_connection_acquisitions`.
* equal to `maxPendingConnectionAcquisitions`.
*
* @param maxPendingConnectionAcquisitions maximum pending acquisitions allowed
* @return this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ private HttpClientConnectionManager createConnectionManager(URI uri, int numThre
.withSocketOptions(sockOpts)
.withTlsConnectionOptions(tlsConnectionOptions)
.withUri(uri)
.withMaxConnections(numConnections)
.withConnectionAcquisitionTimeoutInMilliseconds(5000)
.withMaxPendingConnectionAcquisitions(10);
.withMaxConnections(numConnections);

return HttpClientConnectionManager.create(options);
}
Expand Down

0 comments on commit ea5409a

Please sign in to comment.