diff options
author | Harald Musum <musum@yahooinc.com> | 2024-06-11 13:18:23 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2024-06-11 13:18:23 +0200 |
commit | cf69fab13fdfa8e7d1be3faff16363d06084add3 (patch) | |
tree | 5c01491959b6b21f6dcea7d58a006e2e4a28e5d5 | |
parent | 974d01dad693aa5ce5cc32516bacfac67a72eed9 (diff) |
Add feature flag for controlling sessionLifetime
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java index 13684fb001c..7d1c6bcecdb 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java @@ -366,6 +366,13 @@ public class PermanentFlags { "Takes effect immediately" ); + public static final UnboundLongFlag CONFIG_SERVER_SESSION_LIFETIME = defineLongFlag( + "config-server-session-lifetime", 3600, + "Lifetime / expiry time in seconds for config sessions. " + + "This can be lowered if there are incidents/bugs where one needs to delete sessions quickly", + "Takes effect immediately" + ); + public static final UnboundBooleanFlag NOTIFICATION_DISPATCH_FLAG = defineFeatureFlag( "dispatch-notifications", true, "Whether we should send notification for a given tenant", |