summaryrefslogtreecommitdiffstats
path: root/vespa-feed-client
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-09-11 10:56:04 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-09-11 10:56:04 +0200
commit9f57f42441d23479ab04eca24c96e300a7b1cd65 (patch)
tree8aafc2b284497b7687c049a97ee7766e8a7404c9 /vespa-feed-client
parent688fe583ddb938528ddf4ad9361a0cd11198f6cb (diff)
Increase connect timeout
Diffstat (limited to 'vespa-feed-client')
-rw-r--r--vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/JettyCluster.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/JettyCluster.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/JettyCluster.java
index 819115fd867..48c4e9ca9bb 100644
--- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/JettyCluster.java
+++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/JettyCluster.java
@@ -139,7 +139,7 @@ class JettyCluster implements Cluster {
connector.setExecutor(new QueuedThreadPool(threads));
connector.setSslContextFactory(clientSslCtxFactory);
connector.setIdleTimeout(IDLE_TIMEOUT);
- connector.setConnectTimeout(Duration.ofSeconds(10));
+ connector.setConnectTimeout(Duration.ofSeconds(30));
HTTP2Client h2Client = new HTTP2Client(connector);
h2Client.setMaxConcurrentPushedStreams(b.maxStreamsPerConnection);
// Set the HTTP/2 flow control windows very large to cause TCP congestion instead of HTTP/2 flow control congestion.