Skip to content

Commit

Permalink
feat(s3stream): increase s3 timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <[email protected]>
  • Loading branch information
superhx committed Mar 5, 2024
1 parent dae9460 commit 7dcb8a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ public S3AsyncClient newS3Client(String endpoint, String region, boolean forcePa
}
builder.serviceConfiguration(c -> c.pathStyleAccessEnabled(forcePathStyle));
builder.credentialsProvider(newCredentialsProviderChain(credentialsProviders));
builder.overrideConfiguration(b -> b.apiCallTimeout(Duration.ofMinutes(1))
.apiCallAttemptTimeout(Duration.ofSeconds(30)));
builder.overrideConfiguration(b -> b.apiCallTimeout(Duration.ofMinutes(2))
.apiCallAttemptTimeout(Duration.ofSeconds(60)));
return builder.build();
}

Expand Down

0 comments on commit 7dcb8a6

Please sign in to comment.