From 1bb60c114b55ee06eab4d602b1b0fd51dfa565ce Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Tue, 7 Jan 2025 10:37:20 -0800 Subject: [PATCH] fix connection acquisition timeout --- .../awssdk/crt/http/HttpClientConnectionManagerOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..5b4aab6d4 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; }