Don't use best compression encoder level for zstandard

pull/52/head
Pancakes 3 months ago
parent 6f48abaffe
commit 8ac507d2d5
No known key found for this signature in database
GPG Key ID: 5792877BFA27DC8F

@ -89,7 +89,7 @@ func StoreSystemSaveData(uuid []byte, data defs.SystemSaveData) error {
return err return err
} }
enc, err := zstd.NewWriter(nil, zstd.WithEncoderLevel(zstd.SpeedBestCompression)) enc, err := zstd.NewWriter(nil)
if err != nil { if err != nil {
return err return err
} }
@ -160,7 +160,7 @@ func StoreSessionSaveData(uuid []byte, data defs.SessionSaveData, slot int) erro
return err return err
} }
enc, err := zstd.NewWriter(nil, zstd.WithEncoderLevel(zstd.SpeedBestCompression)) enc, err := zstd.NewWriter(nil)
if err != nil { if err != nil {
return err return err
} }

Loading…
Cancel
Save