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 authored and dain committed Jun 12, 2024
1 parent 573a885 commit 3fe9a30
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 @@ -91,7 +91,7 @@ public static software.amazon.awssdk.core.retry.RetryMode getRetryMode(RetryMode
private boolean useWebIdentityTokenCredentialsProvider;
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 @@ -55,7 +55,7 @@ public void testDefaults()
.setUseWebIdentityTokenCredentialsProvider(false)
.setStreamingPartSize(DataSize.of(16, MEGABYTE))
.setRequesterPays(false)
.setMaxConnections(null)
.setMaxConnections(500)
.setConnectionTtl(null)
.setConnectionMaxIdleTime(null)
.setSocketConnectTimeout(null)
Expand Down

0 comments on commit 3fe9a30

Please sign in to comment.