Skip to content

Commit

Permalink
Increase retry configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlb committed Aug 28, 2024
1 parent a129350 commit 20582f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion astra/src/main/java/com/slack/astra/blobfs/S3AsyncUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public static S3AsyncClient initS3Client(AstraConfigs.S3Config config) {
maxNativeMemoryLimitBytes);
S3CrtAsyncClientBuilder s3AsyncClient =
S3AsyncClient.crtBuilder()
.retryConfiguration(S3CrtRetryConfiguration.builder().numRetries(3).build())
.retryConfiguration(S3CrtRetryConfiguration.builder()
.numRetries(10)
.build())
.targetThroughputInGbps(config.getS3TargetThroughputGbps())
.region(Region.of(region))
.maxNativeMemoryLimitInBytes(maxNativeMemoryLimitBytes)
Expand Down

0 comments on commit 20582f7

Please sign in to comment.