From ea269a27067ab93d2195d696d6b453ad5ebe1b1e Mon Sep 17 00:00:00 2001 From: Jiyong Huang Date: Wed, 11 Dec 2024 11:22:52 +0800 Subject: [PATCH] chore(compresser): zstd window size set to 32K Signed-off-by: Jiyong Huang --- internal/compressor/zstd/zstd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/compressor/zstd/zstd.go b/internal/compressor/zstd/zstd.go index ec8d9c7b48..89882e8cb2 100644 --- a/internal/compressor/zstd/zstd.go +++ b/internal/compressor/zstd/zstd.go @@ -22,7 +22,7 @@ import ( ) func NewZstdCompressor() (*zstdCompressor, error) { - zstdWriter, err := zstd.NewWriter(nil, zstd.WithWindowSize(zstd.MinWindowSize)) + zstdWriter, err := zstd.NewWriter(nil, zstd.WithWindowSize(32<<10)) if err != nil { return nil, err }