diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-11 13:52:35 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-11 13:52:35 +0200 |
commit | 6f58cf65530fe4ef9a48e1ade3525a74dee52f9a (patch) | |
tree | 7401a10e79d81721ec2c5f60f15649abd98af6eb /vespa-http-client/src | |
parent | 86d54f86a4560d6e643ece1330a37b434091ea6f (diff) |
Only command line has a default of 4, programatic usage has a default of 1.
Diffstat (limited to 'vespa-http-client/src')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java index 2e14d2c4059..bd187ea3371 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java @@ -36,7 +36,7 @@ public final class ConnectionParams { private long connectionTimeout = TimeUnit.SECONDS.toMillis(60); private final Multimap<String, String> headers = ArrayListMultimap.create(); private final Map<String, HeaderProvider> headerProviders = new HashMap<>(); - private int numPersistentConnectionsPerEndpoint = 4; + private int numPersistentConnectionsPerEndpoint = 1; private String proxyHost = null; private int proxyPort = 8080; private boolean useCompression = false; |