summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
index 5693159dfd5..aeec579183d 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -259,6 +259,12 @@ public class Flags {
"Takes effect on next deployment through controller",
APPLICATION_ID);
+ public static final UnboundIntFlag MAX_ENCRYPTING_HOSTS = defineIntFlag(
+ "max-encrypting-hosts", 0,
+ List.of("mpolden", "hakonhall"), "2021-05-27", "2021-10-01",
+ "The maximum number of hosts allowed to encrypt their disk concurrently",
+ "Takes effect on next run of HostEncrypter, but any currently encrypting hosts will not be cancelled when reducing the limit");
+
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List<String> owners,
String createdAt, String expiresAt, String description,