We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d34a7 commit 8abd881Copy full SHA for 8abd881
api/src/main/java/io/kafbat/ui/util/WebClientConfigurator.java
@@ -10,6 +10,7 @@
10
import io.netty.handler.ssl.util.InsecureTrustManagerFactory;
11
import java.io.FileInputStream;
12
import java.security.KeyStore;
13
+import java.time.Duration;
14
import java.util.function.Consumer;
15
import javax.annotation.Nullable;
16
import javax.net.ssl.KeyManagerFactory;
@@ -31,7 +32,8 @@ public class WebClientConfigurator {
31
32
private final WebClient.Builder builder = WebClient.builder();
33
private HttpClient httpClient = HttpClient
34
.create()
- .proxyWithSystemProperties();
35
+ .proxyWithSystemProperties()
36
+ .responseTimeout(Duration.ofSeconds(10));
37
38
public WebClientConfigurator() {
39
configureObjectMapper(defaultOM());
0 commit comments