summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-04-26 15:13:06 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-04-26 15:13:06 +0200
commit8c53320a1bc10b81b761679c69ce1fac4b85fc3c (patch)
tree747cdec428a863c0e2ea89080bab300a3da9f10b /flags
parent49aba5432a2965b9ab4792e4b38445f6f3289074 (diff)
Add feature flag to control connection TTL
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java6
1 files changed, 6 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 f5fbc26e099..e80348261ef 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
@@ -354,6 +354,12 @@ public class PermanentFlags {
ZONE_ID, APPLICATION_ID
);
+ public static final UnboundIntFlag ENDPOINT_CONNECTION_TTL = defineIntFlag(
+ "endpoint-connection-ttl", 45,
+ "Time to live for connections to endpoints in seconds",
+ "Takes effect on next redeployment",
+ APPLICATION_ID);
+
private PermanentFlags() {}
private static UnboundBooleanFlag defineFeatureFlag(