Skip to content

Commit

Permalink
feat(s3stream): increase s3 timeout (#955)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <[email protected]>
  • Loading branch information
superhx authored Mar 6, 2024
1 parent dae9460 commit c6c0a36
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 c6c0a36

Please sign in to comment.