mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-15 22:38:31 +01:00
1627d3a53f
When using the MinIO storage driver for Actions Artifacts, we found that the chunked artifact required significantly more memory usage to both upload and merge than the local storage driver. This seems to be related to hardcoding a value of `-1` for the size to the MinIO client [which has a warning about memory usage in the respective docs](https://pkg.go.dev/github.com/minio/minio-go/v7#Client.PutObject). Specifying the size in both the upload and merge case reduces memory usage of the MinIO client. Co-authored-by: Kyle D <kdumontnu@gmail.com> (cherry picked from commit 45dbeb5600d1f552c0134721fe49e8fd1099b5a4) |
||
---|---|---|
.. | ||
ping | ||
runner | ||
actions.go | ||
artifact.pb.go | ||
artifact.proto | ||
artifacts.go | ||
artifacts_chunks.go | ||
artifacts_utils.go | ||
artifactsv4.go |