diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-07-07 11:18:51 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-07-07 11:18:51 +0200 |
commit | 42f439ed018e9bc533791a357af738f0f6814d7a (patch) | |
tree | b4c251dc4c038aebfad23c6a16823938c17bc5c1 /config-model/src/main | |
parent | 6c5fbad5e8051ff2d09f5fd1a9c2f6035e1084df (diff) |
GC mbus numThreads.
Diffstat (limited to 'config-model/src/main')
-rw-r--r-- | config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java | 7 | ||||
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/content/ContentNode.java | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java index 11c7f6cb6b5..400aea86834 100644 --- a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java +++ b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java @@ -84,7 +84,6 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea private int mbus_cpp_events_before_wakeup = 1; private int rpc_num_targets = 1; private int rpc_events_before_wakeup = 1; - private int mbus_threads = 4; private int mbus_network_threads = 1; private Architecture adminClusterNodeResourcesArchitecture = Architecture.getDefault(); @@ -142,7 +141,6 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea @Override public boolean sharedStringRepoNoReclaim() { return sharedStringRepoNoReclaim; } @Override public boolean loadCodeAsHugePages() { return loadCodeAsHugePages; } @Override public int mbusNetworkThreads() { return mbus_network_threads; } - @Override public int mbusThreads() { return mbus_threads; } @Override public int mbusJavaRpcNumTargets() { return mbus_java_num_targets; } @Override public int mbusJavaEventsBeforeWakeup() { return mbus_java_events_before_wakeup; } @Override public int mbusCppRpcNumTargets() { return mbus_cpp_num_targets; } @@ -375,11 +373,6 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea return this; } - public TestProperties setMbusThreads(int value) { - this.mbus_threads = value; - return this; - } - public TestProperties setMbusNetworkThreads(int value) { this.mbus_network_threads = value; return this; diff --git a/config-model/src/main/java/com/yahoo/vespa/model/content/ContentNode.java b/config-model/src/main/java/com/yahoo/vespa/model/content/ContentNode.java index 037dd578813..c52bb6fa2de 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/content/ContentNode.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/content/ContentNode.java @@ -21,7 +21,6 @@ public abstract class ContentNode extends AbstractService private final int distributionKey; private final String rootDirectory; - private final int mbus_threads; private final int mbus_network_threads; private final int mbus_rpc_targets; private final int mbus_events_before_wakeup; @@ -32,7 +31,6 @@ public abstract class ContentNode extends AbstractService super(parent, "" + distributionKey); this.distributionKey = distributionKey; this.rootDirectory = rootDirectory; - mbus_threads = featureFlags.mbusThreads(); mbus_network_threads = featureFlags.mbusNetworkThreads(); mbus_rpc_targets = featureFlags.mbusCppRpcNumTargets(); mbus_events_before_wakeup = featureFlags.mbusCppEventsBeforeWakeup(); @@ -81,7 +79,6 @@ public abstract class ContentNode extends AbstractService public void getConfig(StorCommunicationmanagerConfig.Builder builder) { builder.mbusport(getRelativePort(0)); builder.rpcport(getRelativePort(1)); - builder.mbus.num_threads(mbus_threads); builder.mbus.num_network_threads(mbus_network_threads); builder.mbus.num_rpc_targets(mbus_rpc_targets); builder.mbus.events_before_wakeup(mbus_events_before_wakeup); |