Content-Length: 260107 | pFad | https://github.com/lowcoder-org/lowcoder/commit/bb3bb8ee75099d0de1344a2e2ffc4128ab6c5787

57 fix timeout timeunit · lowcoder-org/lowcoder@bb3bb8e · GitHub
Skip to content

Commit bb3bb8e

Browse files
committed
fix timeout timeunit
1 parent b82f35f commit bb3bb8e

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(new ReadTimeoutHandler(timeoutMs, TimeUnit.SECONDS))
99-
.addHandlerLast(new WriteTimeoutHandler(timeoutMs, TimeUnit.SECONDS)));
98+
.addHandlerLast(new ReadTimeoutHandler(timeoutMs, TimeUnit.MILLISECONDS))
99+
.addHandlerLast(new WriteTimeoutHandler(timeoutMs, TimeUnit.MILLISECONDS)));
100100
}
101101

102102
if (sslConfig != null) {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/lowcoder-org/lowcoder/commit/bb3bb8ee75099d0de1344a2e2ffc4128ab6c5787

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy