summaryrefslogtreecommitdiffstats
path: root/vespa-feed-client
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-07-10 11:05:02 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-07-10 11:43:51 +0200
commitd490959feaf8c32eade4dd0da305e5aaded13c20 (patch)
tree01bb718585b26ef2d964f227c06821b1dfc1009a /vespa-feed-client
parent53767322abaf206ec6297d199acf21defb14dd51 (diff)
Use max 32 threads
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 46eb0ca151b..7c6344f0c06 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
@@ -121,7 +121,7 @@ class JettyCluster implements Cluster {
clientSslCtxFactory.setEndpointIdentificationAlgorithm(null);
}
ClientConnector connector = new ClientConnector();
- int threads = Math.max(Math.min(Runtime.getRuntime().availableProcessors(), 20), 8);
+ int threads = Math.max(Math.min(Runtime.getRuntime().availableProcessors(), 32), 8);
connector.setExecutor(new QueuedThreadPool(threads));
connector.setSslContextFactory(clientSslCtxFactory);
HTTP2Client h2Client = new HTTP2Client(connector);