diff options
author | Jon Bratseth <bratseth@gmail.com> | 2020-05-29 14:37:54 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2020-05-29 14:37:54 +0200 |
commit | e28cde3ea0a560c40af32133d25df08299fea8e6 (patch) | |
tree | cdfc76385c74cd10549cfd58594226cd8512af4d /config-model | |
parent | 7f794ed31ee69f9952879311033456c465cd3e50 (diff) |
Non-functional changes only
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java | 5 | ||||
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/search/NodeResourcesTuningTest.java | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java index 93e1ce2a81e..282dee9ca67 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java @@ -20,11 +20,6 @@ public class NodeResourcesTuning implements ProtonConfig.Producer { private final int searchableCopies; private final int threadsPerSearch; - - public NodeResourcesTuning(NodeResources resources, int redundancy, int searchableCopies) { - this(resources, redundancy, searchableCopies, 1); - } - public NodeResourcesTuning(NodeResources resources, int redundancy, int searchableCopies, int threadsPerSearch) { this.resources = resources; this.redundancy = redundancy; diff --git a/config-model/src/test/java/com/yahoo/vespa/model/search/NodeResourcesTuningTest.java b/config-model/src/test/java/com/yahoo/vespa/model/search/NodeResourcesTuningTest.java index fee0edacb90..d29cbd4a8e8 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/search/NodeResourcesTuningTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/search/NodeResourcesTuningTest.java @@ -231,7 +231,7 @@ public class NodeResourcesTuningTest { } private static ProtonConfig getConfig(FlavorsConfig.Flavor.Builder flavorBuilder, ProtonConfig.Builder protonBuilder, int redundancy, int searchableCopies) { flavorBuilder.name("my_flavor"); - NodeResourcesTuning tuning = new NodeResourcesTuning(new Flavor(new FlavorsConfig.Flavor(flavorBuilder)).resources(), redundancy, searchableCopies); + NodeResourcesTuning tuning = new NodeResourcesTuning(new Flavor(new FlavorsConfig.Flavor(flavorBuilder)).resources(), redundancy, searchableCopies, 1); tuning.getConfig(protonBuilder); return new ProtonConfig(protonBuilder); } |