Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea54110

Browse files
Thomasrludomikula
Thomasr
authored andcommitted
fix timeout timeunit
1 parent40744e0 commitea54110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎server/api-service/lowcoder-sdk/src/main/java/org/lowcoder/sdk/webclient/WebClientBuildHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ public Builder toWebClientBuilder() {
9595
.responseTimeout(Duration.ofMillis(timeoutMs))
9696
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS,timeoutMs.intValue())
9797
.doOnConnected(conn ->conn
98-
.addHandlerLast(newReadTimeoutHandler(timeoutMs,TimeUnit.SECONDS))
99-
.addHandlerLast(newWriteTimeoutHandler(timeoutMs,TimeUnit.SECONDS)));
98+
.addHandlerLast(newReadTimeoutHandler(timeoutMs,TimeUnit.MILLISECONDS))
99+
.addHandlerLast(newWriteTimeoutHandler(timeoutMs,TimeUnit.MILLISECONDS)));
100100
}
101101

102102
if (sslConfig !=null) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp