You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Rowan Bohde 45dbeb5600
Reduce memory usage for chunked artifact uploads to MinIO (#31325)
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>
9 months ago
..
api Reduce memory usage for chunked artifact uploads to MinIO (#31325) 9 months ago
common Use repo as of renderctx's member rather than a repoPath on metas (#29222) 9 months ago
install Always load or generate oauth2 jwt secret (#30942) 10 months ago
private Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 10 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Enable `unparam` linter (#31277) 9 months ago
init.go Make sure git version&feature are always prepared (#30877) 10 months ago