diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2021-09-10 10:44:07 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2021-09-10 10:44:07 +0200 |
commit | 38c91c4787babbc546c0971d0836253fc8ee4b82 (patch) | |
tree | 2a3d0ddc94a412204102e4dbf0a54354f9c23705 /orchestrator | |
parent | 01513fb2bef0d0b3021ede9857604b3d8b19cf31 (diff) |
Remove orchestrate-missing-proxies flag
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java index 061b3f706a5..7090322f3cf 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java @@ -86,17 +86,11 @@ public class OrchestratorImpl implements Orchestrator { zone, Clock.systemUTC(), new ApplicationApiFactory(configServerConfig.zookeeperserver().size(), - resolveNumProxies(orchestratorConfig, flagSource), + orchestratorConfig.numProxies(), Clock.systemUTC()), orchestratorConfig.serviceMonitorConvergenceLatencySeconds()); } - private static int resolveNumProxies(OrchestratorConfig orchestratorConfig, FlagSource flagSource) { - return Flags.ORCHESTRATE_MISSING_PROXIES.bindTo(flagSource).value() ? - orchestratorConfig.numProxies() : - 0; - } - private OrchestratorImpl(ClusterControllerClientFactory clusterControllerClientFactory, StatusService statusService, ServiceMonitor serviceMonitor, |