From ade4234615e7747ff79e98b27ff117a05c8110fa Mon Sep 17 00:00:00 2001 From: H1JK Date: Sat, 7 Sep 2024 20:22:21 +0800 Subject: [PATCH] chore: mrs use best compression --- rules/provider/mrs_converter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/provider/mrs_converter.go b/rules/provider/mrs_converter.go index edc24e7eea..dbbe51cb29 100644 --- a/rules/provider/mrs_converter.go +++ b/rules/provider/mrs_converter.go @@ -34,7 +34,7 @@ func ConvertToMrs(buf []byte, behavior P.RuleBehavior, format P.RuleFormat, w io } var encoder *zstd.Encoder - encoder, err = zstd.NewWriter(w) + encoder, err = zstd.NewWriter(w, zstd.WithEncoderLevel(zstd.SpeedBestCompression)) if err != nil { return err }