From 0540e171fc3307ab0502eaca790cbcf27edcc8dc Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Thu, 9 Jan 2025 09:34:14 -0800 Subject: [PATCH] Fix connectionAcquisitionTimeoutInMilliseconds from Int to Long (#858) --- .../awssdk/crt/http/HttpClientConnectionManagerOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/software/amazon/awssdk/crt/http/HttpClientConnectionManagerOptions.java b/src/main/java/software/amazon/awssdk/crt/http/HttpClientConnectionManagerOptions.java index 124d63a6f..f861569a7 100644 --- a/src/main/java/software/amazon/awssdk/crt/http/HttpClientConnectionManagerOptions.java +++ b/src/main/java/software/amazon/awssdk/crt/http/HttpClientConnectionManagerOptions.java @@ -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; } @@ -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; }