mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-20 08:00:52 +00:00
fix: use zstd.WithLowerEncoderMem for generate-bindata (#8172)
Closes forgejo/forgejo#8165
The test that matters will happen on the next integration build.
A manual test was run in the integration repository:
* commit 82c419a85e
* run that builds bindata for v6 https://codeberg.org/forgejo-integration/forgejo/actions/runs/10219#jobstep-9-5286
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8172
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
563d8f1564
commit
402a85a9b6
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ type direntry struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func generate(fsRoot fs.FS, packageName string, globalTime bool, output io.Writer) error {
|
func generate(fsRoot fs.FS, packageName string, globalTime bool, output io.Writer) error {
|
||||||
enc, err := zstd.NewWriter(nil, zstd.WithEncoderLevel(zstd.SpeedBestCompression))
|
enc, err := zstd.NewWriter(nil, zstd.WithLowerEncoderMem(true))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue