From 1fb67acd22e272f897b005853bf038eddd5d6e0d Mon Sep 17 00:00:00 2001 From: Fabian Engelniederhammer Date: Wed, 17 Apr 2024 15:36:01 +0200 Subject: [PATCH] fix(lapis2): prefer zstd over gzip #738 --- .../org/genspectrum/lapis/controller/CompressionFilter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt b/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt index 2a90aaae..80aca005 100644 --- a/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt +++ b/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt @@ -65,8 +65,8 @@ enum class Compression( .map { it.trim() } return when { - headersList.contains(GZIP.value) -> GZIP headersList.contains(ZSTD.value) -> ZSTD + headersList.contains(GZIP.value) -> GZIP else -> null } }