diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-10-27 19:06:33 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-10-27 19:06:33 +0100 |
commit | 25aebb11668d399345aa38d67b4adb97423827f9 (patch) | |
tree | d556f70f5a8b48d8e39583a003a0a17148204f9a /controller-server/src | |
parent | 555f5f9c1c1d59308f0cc2299b81da6298b90337 (diff) |
More threads for JobRunner, and name them
Diffstat (limited to 'controller-server/src')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/JobRunner.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/JobRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/JobRunner.java index 7f21b5c483c..f08a23ab8ed 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/JobRunner.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/JobRunner.java @@ -1,6 +1,7 @@ // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.maintenance; +import com.yahoo.concurrent.DaemonThreadFactory; import com.yahoo.vespa.hosted.controller.Controller; import com.yahoo.vespa.hosted.controller.api.integration.deployment.RunId; import com.yahoo.vespa.hosted.controller.deployment.InternalStepRunner; @@ -35,7 +36,7 @@ public class JobRunner extends ControllerMaintainer { private final StepRunner runner; public JobRunner(Controller controller, Duration duration) { - this(controller, duration, Executors.newFixedThreadPool(32), new InternalStepRunner(controller)); + this(controller, duration, Executors.newFixedThreadPool(128, new DaemonThreadFactory("job-runner-")), new InternalStepRunner(controller)); } @TestOnly |