diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-07-10 11:05:02 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-07-10 11:43:51 +0200 |
commit | d490959feaf8c32eade4dd0da305e5aaded13c20 (patch) | |
tree | 01bb718585b26ef2d964f227c06821b1dfc1009a /vespa-feed-client | |
parent | 53767322abaf206ec6297d199acf21defb14dd51 (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.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 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); |