We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07a2f8 commit e8128c3Copy full SHA for e8128c3
1 file changed
src/main/java/edu/harvard/iq/dataverse/dataaccess/S3AccessIO.java
@@ -1208,6 +1208,9 @@ private static S3AsyncClient getClient(String driverId) {
1208
// Create a builder for the S3AsyncClient
1209
S3AsyncClientBuilder s3CB = S3AsyncClient.builder().requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED);
1210
1211
+ // Always enable multipart upload. It is only used when necessary
1212
+ s3CB.multipartEnabled(true);
1213
+
1214
// Create a custom HTTP client with the desired pool size
1215
Integer poolSize = Integer.getInteger("dataverse.files." + driverId + ".connection-pool-size", 256);
1216
Builder httpClientBuilder = NettyNioAsyncHttpClient.builder().maxConcurrency(poolSize);
0 commit comments