summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2021-06-15 08:04:22 +0000
committerHåvard Pettersen <havardpe@oath.com>2021-06-15 08:12:54 +0000
commit8690905f7bcb32b12ba70ed722ee1bd29d268811 (patch)
tree7f781a08cdc60843b3b215d58743759f249f34b9 /config
parent4521c56ba2f790999a96feb3e7cb2d5bd9134f2b (diff)
drop empty buffers instead of using small buffers
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 26eafb67c1b..18939e847f7 100644
--- a/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java
+++ b/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java
@@ -37,7 +37,7 @@ public class JRTConnectionPool implements ConnectionPool {
private volatile JRTConnection currentConnection;
public JRTConnectionPool(ConfigSourceSet sourceSet) {
- supervisor = new Supervisor(new Transport("config-jrtpool-" + sourceSet.hashCode())).useSmallBuffers();
+ supervisor = new Supervisor(new Transport("config-jrtpool-" + sourceSet.hashCode())).setDropEmptyBuffers(true);
addSources(sourceSet);
}