diff options
author | Harald Musum <musum@yahooinc.com> | 2021-11-25 14:20:50 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2021-11-25 14:20:50 +0100 |
commit | 2e41da765e3bda5ea821956bca0c686ce3aed1e9 (patch) | |
tree | dc832e2af53c1bfb2e1d18d7d9b1f8b604a4e04e /config-proxy | |
parent | 0113bccfb8667c420d5e5a3cabc2dce00c5828f2 (diff) |
Rename env variable and add feature flag to be used by host-admin
Diffstat (limited to 'config-proxy')
-rw-r--r-- | config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java index f5a92b7bdca..3e7f7418ce2 100644 --- a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java +++ b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java @@ -53,9 +53,9 @@ public class FileDistributionAndUrlDownload { } private static ConnectionPool createConnectionPool(Supervisor supervisor, ConfigSourceSet source) { - String useFileDistributionConnectionPool = System.getenv("VESPA_USE_FILE_DISTRIBUTION_CONNECTION_POOL"); + String useFileDistributionConnectionPool = System.getenv("VESPA_CONFIG_PROXY_USE_FILE_DISTRIBUTION_CONNECTION_POOL"); // TODO: Lower log level or remove when verified - log.log(INFO, "VESPA_USE_FILE_DISTRIBUTION_CONNECTION_POOL: " + useFileDistributionConnectionPool); + log.log(INFO, "VESPA_CONFIG_PROXY_USE_FILE_DISTRIBUTION_CONNECTION_POOL: " + useFileDistributionConnectionPool); if (useFileDistributionConnectionPool != null && useFileDistributionConnectionPool.equalsIgnoreCase("true")) return new FileDistributionConnectionPool(source, supervisor); else |