summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-02-11 23:44:23 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-02-12 05:45:53 +0000
commit519fc4209460f28de8d4954c1a50402d4af6b02b (patch)
tree73551717ce2012235510b531d42d207bb5c7867d /config
parent93e7f6bcba5d8cbc0d9700ec64dc6540eb935ef2 (diff)
Use small buffers where size matters more than speed.
Diffstat (limited to 'config')
-rw-r--r--config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java b/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java
index 9aeb1c9da0f..4bfa2103cb1 100644
--- a/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java
+++ b/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java
@@ -39,7 +39,7 @@ public class JRTConnectionPool implements ConnectionPool {
private volatile JRTConnection currentConnection;
public JRTConnectionPool(ConfigSourceSet sourceSet) {
- supervisor = new Supervisor(new Transport("config-jrtpool-" + sourceSet.hashCode()));
+ supervisor = new Supervisor(new Transport("config-jrtpool-" + sourceSet.hashCode())).enableSmallBuffers();
addSources(sourceSet);
}