diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-05-06 20:16:50 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-05-06 20:16:50 +0200 |
commit | 2e02aa64339b9017a383f02adad7dee6f60f02df (patch) | |
tree | 21d0a12125890dddd6a5bdcfaafa9592f994cde1 /configserver | |
parent | 29b263529e3baaaaf69044ff58a8d260bd604bdd (diff) |
Do change in smaller steps
Do change in small steps, large change led to config servers taking a long time to start
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | 3 |
1 files changed, 2 insertions, 1 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 c0211fb6e91..214b0f5e732 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 @@ -30,7 +30,8 @@ public class SessionsMaintainer extends ConfigServerMaintainer { // Expired remote sessions are sessions that belong to an application that have external deployments that // are no longer active if (hostedVespa) { - Duration expiryTime = Duration.ofDays(7); + // TODO: Reduce to 7 days in steps, otherwise startup of config servers takes a long time + Duration expiryTime = Duration.ofDays(28); applicationRepository.deleteExpiredRemoteSessions(expiryTime); } } |