Skip to content

Commit 0e02a39

Browse files
committed
[rest] Adjust writeTimeout of HttpClient to 3 minutes
1 parent b0bb00f commit 0e02a39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paimon-api/src/main/java/org/apache/paimon/rest/HttpClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public class HttpClient implements RESTClient {
5959
.addInterceptor(new LoggingInterceptor())
6060
.connectTimeout(Duration.ofMinutes(3))
6161
.readTimeout(Duration.ofMinutes(3))
62+
.writeTimeout(Duration.ofMinutes(3))
6263
.build();
6364

6465
private static final MediaType MEDIA_TYPE = MediaType.parse("application/json");

0 commit comments

Comments
 (0)