summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-07-13 14:38:29 +0200
committerHarald Musum <musum@yahooinc.com>2022-07-13 14:38:29 +0200
commita7b5d441a8a585cc1db3c8823d5e25afb40bcd6a (patch)
treec0df165b5c59521fd5e612f0d68875a10c1ae930 /flags
parent86fe07244b9390ce4b2ed08b66cf1da145fab65f (diff)
Use lz4 as preferred compression type, accept gzip and lz4 for clients
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java4
1 files changed, 2 insertions, 2 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 0c800a5029d..ad1827df628 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -430,14 +430,14 @@ public class Flags {
APPLICATION_ID);
public static final UnboundListFlag<String> FILE_DISTRIBUTION_ACCEPTED_COMPRESSION_TYPES = defineListFlag(
- "file-distribution-accepted-compression-types", List.of("gzip"), String.class,
+ "file-distribution-accepted-compression-types", List.of("gzip", "lz4"), String.class,
List.of("hmusum"), "2022-07-05", "2022-09-05",
"´List of accepted compression types used when asking for a file reference. Valid values: gzip, lz4",
"Takes effect on restart of service",
APPLICATION_ID);
public static final UnboundListFlag<String> FILE_DISTRIBUTION_COMPRESSION_TYPES_TO_SERVE = defineListFlag(
- "file-distribution-compression-types-to-use", List.of("gzip"), String.class,
+ "file-distribution-compression-types-to-use", List.of("lz4", "gzip"), String.class,
List.of("hmusum"), "2022-07-05", "2022-09-05",
"List of compression types to use (in preferred order), matched with accepted compression types when serving file references. Valid values: gzip, lz4",
"Takes effect on restart of service",