Skip to content

Commit a512f92

Browse files
committed
increase connection acquisition timeout to fix "failed to acquire connection" error in sync uploads
1 parent 3483b0e commit a512f92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/s3-tests/src/it/java/software/amazon/awssdk/services/s3/regression/S3ChecksumsTestUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ public static S3Client makeSyncClient(FlattenUploadConfig config, ClientOverride
291291
private static SdkHttpClient makeHttpClient() {
292292
return ApacheHttpClient.builder()
293293
.maxConnections(10_000)
294+
.connectionAcquisitionTimeout(Duration.ofMinutes(10))
294295
.build();
295296
}
296297

0 commit comments

Comments
 (0)