diff options
author | Harald Musum <musum@verizonmedia.com> | 2021-04-22 12:51:58 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2021-04-22 12:51:58 +0200 |
commit | 900530426a5a3a483b4efc63a701e03175ec2e1c (patch) | |
tree | 33566dc240369f789f08219a7a39c21c65e2dc27 /configserver | |
parent | 75ddf7e0c0b999f0cfb63417f8ae6826350da6b9 (diff) |
Separate config for threads used for redeployment of apps
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/ConfigServerBootstrap.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ConfigServerBootstrap.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ConfigServerBootstrap.java index 24926f51b15..3624c67ded0 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/ConfigServerBootstrap.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/ConfigServerBootstrap.java @@ -228,8 +228,8 @@ public class ConfigServerBootstrap extends AbstractComponent implements Runnable // Returns the set of applications that failed to redeploy private List<ApplicationId> redeployApplications(List<ApplicationId> applicationIds) throws InterruptedException { - ExecutorService executor = Executors.newFixedThreadPool(configserverConfig.numParallelTenantLoaders(), - new DaemonThreadFactory("redeploy apps")); + ExecutorService executor = Executors.newFixedThreadPool(configserverConfig.numRedeploymentThreads(), + new DaemonThreadFactory("redeploy-apps-")); // Keep track of deployment per application Map<ApplicationId, Future<?>> deployments = new HashMap<>(); log.log(Level.INFO, () -> "Redeploying " + applicationIds); |