diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-18 12:49:33 -0500 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-08-11 12:47:20 +0000 |
commit | 70d8fb3eabd0a67ef298a2d36992c8d638a3d0b8 (patch) | |
tree | ebfa80966505d246e3c58403b55112a925efbcff /src/lib | |
parent | 4865eabd18d0b5a70bf971814213327c0ca8b106 (diff) | |
download | tor-70d8fb3eabd0a67ef298a2d36992c8d638a3d0b8.tar.gz tor-70d8fb3eabd0a67ef298a2d36992c8d638a3d0b8.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')
-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) */ |