diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-07-10 11:09:24 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-07-10 11:57:08 +0200 |
commit | 29c4b5c45ab6625b237096a9d4d3049f1596372c (patch) | |
tree | 1e7886769a64eca483680c1615a7c0b8bc31fbcc /vespa-feed-client | |
parent | d490959feaf8c32eade4dd0da305e5aaded13c20 (diff) |
Increase initial window size
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 7c6344f0c06..79fe8dd630f 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 @@ -127,7 +127,7 @@ class JettyCluster implements Cluster { 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. - int initialWindow = 128 * 1024 * 1024; + int initialWindow = Integer.MAX_VALUE; h2Client.setInitialSessionRecvWindow(initialWindow); h2Client.setInitialStreamRecvWindow(initialWindow); HttpClientTransportOverHTTP2 transport = new HttpClientTransportOverHTTP2(h2Client); |