mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +01:00
fe5adbbbdc
This contains two backwards-compatible changes: * in the lfs http_client, the number of lfs oids requested per batch is loaded from lfs_client#BATCH_SIZE and defaulted to the previous value of 20 * in the lfs server/service, the max number of lfs oids allowed in a batch api request is loaded from server#LFS_MAX_BATCH_SIZE and defaults to 'nil' which equates to the previous behavior of 'infinite' This fixes #32306 --------- Signed-off-by: Royce Remer <royceremer@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit c60e4dc1095ef90a790582cacfad27c972637bb2) Conflicts: - services/lfs/server.go Conflict due to our Quota implementation. Resolved by manually adding the change after the quota check. |
||
---|---|---|
.. | ||
client.go | ||
client_test.go | ||
content_store.go | ||
endpoint.go | ||
endpoint_test.go | ||
filesystem_client.go | ||
http_client.go | ||
http_client_test.go | ||
LICENSE | ||
pointer.go | ||
pointer_scanner.go | ||
pointer_test.go | ||
shared.go | ||
transferadapter.go | ||
transferadapter_test.go |