Skip to content

Commit

Permalink
Fix connectionAcquisitionTimeoutInMilliseconds from Int to Long (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 authored Jan 9, 2025
1 parent 5593e88 commit 0540e17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public long getConnectionAcquisitionTimeoutInMilliseconds() {
* @param connectionAcquisitionTimeoutInMilliseconds timeout in milliseconds.
* @return this
*/
public HttpClientConnectionManagerOptions withConnectionAcquisitionTimeoutInMilliseconds(int connectionAcquisitionTimeoutInMilliseconds) {
public HttpClientConnectionManagerOptions withConnectionAcquisitionTimeoutInMilliseconds(long connectionAcquisitionTimeoutInMilliseconds) {
this.connectionAcquisitionTimeoutInMilliseconds = connectionAcquisitionTimeoutInMilliseconds;
return this;
}
Expand All @@ -325,7 +325,7 @@ public long getMaxPendingConnectionAcquisitions() {
* @param maxPendingConnectionAcquisitions maximum pending acquisitions allowed
* @return this
*/
public HttpClientConnectionManagerOptions withMaxPendingConnectionAcquisitions(int maxPendingConnectionAcquisitions) {
public HttpClientConnectionManagerOptions withMaxPendingConnectionAcquisitions(long maxPendingConnectionAcquisitions) {
this.maxPendingConnectionAcquisitions = maxPendingConnectionAcquisitions;
return this;
}
Expand Down

0 comments on commit 0540e17

Please sign in to comment.