mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-06 01:23:38 +08:00
chore: mrs use best compression
This commit is contained in:
parent
faaa90f8a6
commit
ade4234615
@ -34,7 +34,7 @@ func ConvertToMrs(buf []byte, behavior P.RuleBehavior, format P.RuleFormat, w io
|
|||||||
}
|
}
|
||||||
|
|
||||||
var encoder *zstd.Encoder
|
var encoder *zstd.Encoder
|
||||||
encoder, err = zstd.NewWriter(w)
|
encoder, err = zstd.NewWriter(w, zstd.WithEncoderLevel(zstd.SpeedBestCompression))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user