aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-03-02 12:00:28 +0100
committerHarald Musum <musum@yahooinc.com>2023-03-02 12:00:28 +0100
commite96a617042ccc24ee2d1d8664726d95073bef82f (patch)
tree3745e87c58115e04dc6935011cffb0700b0c57c9 /controller-server
parentc8c4363b6d6a7ee2f89809acc96f5ab4b387db74 (diff)
Run ArtifactExpirer more often in cd systems
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ControllerMaintenance.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ControllerMaintenance.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ControllerMaintenance.java
index bcc8296da2a..052592e0ef0 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ControllerMaintenance.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ControllerMaintenance.java
@@ -162,7 +162,8 @@ public class ControllerMaintenance extends AbstractComponent {
this.resourceMeterMaintainer = duration(3, MINUTES);
this.resourceTagMaintainer = duration(30, MINUTES);
this.applicationMetaDataGarbageCollector = duration(12, HOURS);
- this.containerImageExpirer = duration(12, HOURS);
+ // TODO: Temporarily use another duration in cd systems
+ this.containerImageExpirer = system.isCd() ? duration(15, MINUTES) : duration(12, HOURS);
this.hostInfoUpdater = duration(12, HOURS);
this.reindexingTriggerer = duration(1, HOURS);
this.endpointCertificateMaintainer = duration(1, HOURS);