Don't use best compression encoder level for zstandard

pull/52/head
Pancakes 4 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
}
enc, err := zstd.NewWriter(nil, zstd.WithEncoderLevel(zstd.SpeedBestCompression))
enc, err := zstd.NewWriter(nil)
if err != nil {
return err
}
@ -160,7 +160,7 @@ func StoreSessionSaveData(uuid []byte, data defs.SessionSaveData, slot int) erro
return err
}
enc, err := zstd.NewWriter(nil, zstd.WithEncoderLevel(zstd.SpeedBestCompression))
enc, err := zstd.NewWriter(nil)
if err != nil {
return err
}

Loading…
Cancel
Save