Royce Remer fe5adbbbdc
Add new [lfs_client].BATCH_SIZE and [server].LFS_MAX_BATCH_SIZE config settings. (#32307)
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.
2024-11-05 09:33:15 +01:00
..
2023-12-19 09:29:05 +00:00
2024-06-16 13:42:58 +02:00
2023-12-25 20:13:18 +08:00
2023-07-04 18:36:08 +00:00
2024-08-09 07:49:13 +00:00
2023-06-18 16:10:44 +00:00
2023-10-10 18:47:49 +08:00
2024-08-21 16:06:17 +02:00
2024-06-07 17:12:48 +00:00
2024-06-07 17:12:48 +00:00
2024-08-09 07:49:13 +00:00
2024-06-16 13:42:58 +02:00
2023-02-20 16:18:26 -06:00
2024-03-27 22:26:55 +01:00