summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-05-29 08:59:02 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-05-29 08:59:02 +0000
commitb67314ad44ef44564eed6ffd2f523c241b3d2e0f (patch)
treef99c2476cafb1eb48e47396a5d00f13187eea49b /config-model/src/main/java
parentc2f0bf7951099883154696d9cc040383463ec676 (diff)
Remove control of slow start. That was a blind alley.
Diffstat (limited to 'config-model/src/main/java')
-rw-r--r--config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java10
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/container/ApplicationContainerCluster.java3
2 files changed, 0 insertions, 13 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 b06022ba714..16d1261b8d6 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
@@ -40,7 +40,6 @@ public class TestProperties implements ModelContext.Properties {
private boolean useDistributorBtreeDb = false;
private boolean useThreePhaseUpdates = false;
private double defaultTermwiseLimit = 1.0;
- private double softStartSeconds = 0.0;
private double threadPoolSizeFactor = 0.0;
private double queueSizeFactor = 0.0;
private Optional<EndpointCertificateSecrets> endpointCertificateSecrets = Optional.empty();
@@ -73,11 +72,6 @@ public class TestProperties implements ModelContext.Properties {
return queueSizeFactor;
}
- @Override
- public double defaultSoftStartSeconds() {
- return softStartSeconds;
- }
-
@Override public boolean useDistributorBtreeDb() { return useDistributorBtreeDb; }
@Override public boolean useThreePhaseUpdates() { return useThreePhaseUpdates; }
@Override public Optional<AthenzDomain> athenzDomain() { return Optional.ofNullable(athenzDomain); }
@@ -98,10 +92,6 @@ public class TestProperties implements ModelContext.Properties {
return this;
}
- public TestProperties setSoftStartSeconds(double softStartSeconds) {
- this.softStartSeconds = softStartSeconds;
- return this;
- }
public TestProperties setThreadPoolSizeFactor(double threadPoolSizeFactor) {
this.threadPoolSizeFactor = threadPoolSizeFactor;
return this;
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/ApplicationContainerCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/container/ApplicationContainerCluster.java
index 37548a15835..56e0bd579cb 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/container/ApplicationContainerCluster.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/container/ApplicationContainerCluster.java
@@ -69,7 +69,6 @@ public final class ApplicationContainerCluster extends ContainerCluster<Applicat
private MbusParams mbusParams;
private boolean messageBusEnabled = true;
- private final double softStartSeconds;
private Integer memoryPercentage = null;
@@ -87,7 +86,6 @@ public final class ApplicationContainerCluster extends ContainerCluster<Applicat
addSimpleComponent("ai.vespa.cloud.SystemInfo");
addMetricsV2Handler();
addTestrunnerComponentsIfTester(deployState);
- softStartSeconds = deployState.getProperties().defaultSoftStartSeconds();
}
@Override
@@ -254,7 +252,6 @@ public final class ApplicationContainerCluster extends ContainerCluster<Applicat
@Override
public void getConfig(ThreadpoolConfig.Builder builder) {
- builder.softStartSeconds(softStartSeconds);
}
public static class MbusParams {