Skip to content

Commit b4c5341

Browse files
authored
feat(s3stream): fast fail s3 request (#2281)
Signed-off-by: Robin Han <[email protected]>
1 parent aeb6c7d commit b4c5341

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

s3stream/src/main/java/com/automq/stream/s3/operator/AwsObjectStorage.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ protected S3AsyncClient newS3Client(String endpoint, String region, boolean forc
427427

428428
protected ClientOverrideConfiguration clientOverrideConfiguration() {
429429
return ClientOverrideConfiguration.builder()
430-
.apiCallTimeout(Duration.ofMinutes(2))
431-
.apiCallAttemptTimeout(Duration.ofSeconds(60))
430+
.apiCallTimeout(Duration.ofSeconds(30))
431+
.apiCallAttemptTimeout(Duration.ofSeconds(10))
432432
.build();
433433
}
434434

0 commit comments

Comments
 (0)