diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-09-11 10:56:04 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-09-12 08:57:46 +0200 |
commit | 784e928130bdf40d57a014efb969a015d0f370ce (patch) | |
tree | 56c72a1663e536796399f6c2e49d54f2d0708a82 /vespa-feed-client | |
parent | cde41bf8bc605bb03965c732e5ef41af6f0eeab0 (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.java | 2 |
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. |