diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-18 12:49:33 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-22 14:47:42 -0500 |
commit | d98c77b78e9ce945a7a0de151d5f5cf44061edd5 (patch) | |
tree | 73326b63cef84d0fae6f579f3bec9c103e317791 /src/lib/compress | |
parent | 26c2e843f958c5451c836bbf9a4979aecac177c4 (diff) | |
download | tor-d98c77b78e9ce945a7a0de151d5f5cf44061edd5.tar.gz tor-d98c77b78e9ce945a7a0de151d5f5cf44061edd5.zip |
relay: Reduce streaming compression ratio from HIGH to LOW
Fixes #40301
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/lib/compress')
-rw-r--r-- | src/lib/compress/compress_zstd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/compress/compress_zstd.c b/src/lib/compress/compress_zstd.c index 5913d823e1..61c684068e 100644 --- a/src/lib/compress/compress_zstd.c +++ b/src/lib/compress/compress_zstd.c @@ -49,8 +49,8 @@ memory_level(compression_level_t level) default: case BEST_COMPRESSION: case HIGH_COMPRESSION: return 9; - case MEDIUM_COMPRESSION: return 8; - case LOW_COMPRESSION: return 7; + case MEDIUM_COMPRESSION: return 3; + case LOW_COMPRESSION: return 1; } } #endif /* defined(HAVE_ZSTD) */ |