Skip to content

Commit

Permalink
chore(compresser): zstd window size set to 32K (#3437)
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <huangjy@emqx.io>
  • Loading branch information
ngjaying authored Dec 11, 2024
1 parent 00ea1e5 commit 374bd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/compressor/zstd/zstd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 374bd7d

Please sign in to comment.