diff options
author | Royce Remer <royceremer@gmail.com> | 2024-11-03 20:49:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 04:49:08 +0000 |
commit | 54146e62c0b65a941017983f88f7715e6f35c7b1 (patch) | |
tree | 3910e3affe76463e312f6420d5accdb693fd8376 /custom/conf/app.example.ini | |
parent | f2a6df03d953d608a5cac19cb9fa2c6d62dbe0e3 (diff) | |
download | gitea-54146e62c0b65a941017983f88f7715e6f35c7b1.tar.gz gitea-54146e62c0b65a941017983f88f7715e6f35c7b1.zip |
Make LFS http_client parallel within a batch. (#32369)
Signed-off-by: Royce Remer <royceremer@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'custom/conf/app.example.ini')
-rw-r--r-- | custom/conf/app.example.ini | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 69b57a8c01..e080b0be72 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -2642,9 +2642,15 @@ LEVEL = Info ;; override the azure blob base path if storage type is azureblob ;AZURE_BLOB_BASE_PATH = lfs/ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; settings for Gitea's LFS client (eg: mirroring an upstream lfs endpoint) +;; ;[lfs_client] -;; When mirroring an upstream lfs endpoint, limit the number of pointers in each batch request to this number +;; Limit the number of pointers in each batch request to this number ;BATCH_SIZE = 20 +;; Limit the number of concurrent upload/download operations within a batch +;BATCH_OPERATION_CONCURRENCY = 3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |