aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Marius Venstad <jonmv@users.noreply.github.com>2020-09-10 10:53:40 +0200
committerGitHub <noreply@github.com>2020-09-10 10:53:40 +0200
commita28fef780ca04555945dc07935786fa44a8d0003 (patch)
treec85aceaca45fa5d148b0a465aece95056eb3b3d7
parent5cf6375c1a5748d9aeee1d1385e5fae39e974849 (diff)
parent445fcda48ff2e49886d4cd47ede04eddabfc8194 (diff)
Merge pull request #14362 from vespa-engine/hmusum/wait-longer-before-starting-SessionsMaintainer
Wait with starting SessionsMaintainer
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java b/configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java
index 88f282339d7..083f083f588 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java
@@ -19,9 +19,7 @@ public class SessionsMaintainer extends ConfigServerMaintainer {
private final boolean hostedVespa;
SessionsMaintainer(ApplicationRepository applicationRepository, Curator curator, Duration interval, FlagSource flagSource) {
- // Start this maintainer immediately. It frees disk space, so if disk goes full and config server
- // restarts this makes sure that cleanup will happen as early as possible
- super(applicationRepository, curator, flagSource, Duration.ZERO, interval);
+ super(applicationRepository, curator, flagSource, Duration.ofMinutes(5), interval);
this.hostedVespa = applicationRepository.configserverConfig().hostedVespa();
}