Skip to content

Commit

Permalink
Increase s3.max-connections from AWS default of 50 to 500
Browse files Browse the repository at this point in the history
Aligns native S3FileSystem with legacy TrinoS3FileSystem
  • Loading branch information
grantatspothero committed May 31, 2024
1 parent b2ac29e commit c7eb64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static software.amazon.awssdk.core.retry.RetryMode getRetryMode(RetryMode
private String sseKmsKeyId;
private DataSize streamingPartSize = DataSize.of(16, MEGABYTE);
private boolean requesterPays;
private Integer maxConnections;
private Integer maxConnections = 500;
private Duration connectionTtl;
private Duration connectionMaxIdleTime;
private Duration socketConnectTimeout;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void testDefaults()
.setSseKmsKeyId(null)
.setStreamingPartSize(DataSize.of(16, MEGABYTE))
.setRequesterPays(false)
.setMaxConnections(null)
.setMaxConnections(500)
.setConnectionTtl(null)
.setConnectionMaxIdleTime(null)
.setSocketConnectTimeout(null)
Expand Down

0 comments on commit c7eb64e

Please sign in to comment.