Skip to content

Commit

Permalink
Add flag that can set keepSessionsWithUnknownStatusHours in config se…
Browse files Browse the repository at this point in the history
…rver config
  • Loading branch information
hmusum committed Nov 9, 2024
1 parent f2f8e22 commit d8f8eb0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,13 @@ public class PermanentFlags {
"Allowed Athenz proxy identities",
"takes effect at redeployment");

public static final UnboundLongFlag CONFIG_SERVER_UNKNOWN_STATUS_SESSION_EXPIRY_TIME = defineLongFlag(
"config-server-unknown-status-session-expiry-time", 6,
"Expiry time in hours for sessions with unknown status, can be lowered if there are incidents/bugs " +
" or free disk space is too low and one needs to delete sessions",
"Takes effect after restart of config server"
);

private PermanentFlags() {}

private static UnboundBooleanFlag defineFeatureFlag(
Expand Down

0 comments on commit d8f8eb0

Please sign in to comment.