mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-01-21 02:12:15 -05:00
Sync config cheat sheet with LFS values
See fe5adbbbdc
and https://codeberg.org/forgejo/forgejo/pulls/6170
This commit is contained in:
parent
bf588ea0f6
commit
f70c3a5d93
1 changed files with 6 additions and 0 deletions
|
@ -370,6 +370,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
|
|||
- `LFS_HTTP_AUTH_EXPIRY`: **24h**: LFS authentication validity period in time.Duration, pushes taking longer than this may fail.
|
||||
- `LFS_MAX_FILE_SIZE`: **0**: Maximum allowed LFS file size in bytes (Set to 0 for no limit).
|
||||
- `LFS_LOCKS_PAGING_NUM`: **50**: Maximum number of LFS Locks returned per page.
|
||||
- `LFS_MAX_BATCH_SIZE`: **0:** When clients make lfs batch requests, reject them if there are more pointers than this number. '0' means 'unlimited'
|
||||
|
||||
- `REDIRECT_OTHER_PORT`: **false**: If true and `PROTOCOL` is https, allows redirecting http requests on `PORT_TO_REDIRECT` to the https port Forgejo listens on.
|
||||
- `REDIRECTOR_USE_PROXY_PROTOCOL`: **%(USE_PROXY_PROTOCOL)s**: expect PROXY protocol header on connections to https redirector.
|
||||
|
@ -834,6 +835,11 @@ Default templates for project boards:
|
|||
|
||||
Additional settings can be included in this section to specify where the data is stored, as [explained in detail in the storage documentation](../storage/).
|
||||
|
||||
## LFS client (`lfs_client`)
|
||||
|
||||
- `BATCH_SIZE`: **20**: When mirroring an upstream lfs endpoint, limit the number of pointers in each batch request to this number.
|
||||
- `BATCH_OPERATION_CONCURRENCY`: **8**: Limit the number of concurrent upload/download operations within a batch.
|
||||
|
||||
## Log (`log`)
|
||||
|
||||
When configuring logging, also consult the detailed [logging documentation](../logging-documentation/).
|
||||
|
|
Loading…
Add table
Reference in a new issue