mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 15:10:43 +02:00
The size unit of measurements should be mentioned in the config and documentation file
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -943,8 +943,9 @@ LEVEL = Info
|
|||||||
;; "false" means no limit will be enforced, even if specified on a repository
|
;; "false" means no limit will be enforced, even if specified on a repository
|
||||||
;ENABLE_SIZE_LIMIT = false
|
;ENABLE_SIZE_LIMIT = false
|
||||||
;
|
;
|
||||||
;; Specify a global repository size limit to apply for each repository. 0 - No limit
|
;; Specify a global repository size limit in bytes to apply for each repository. 0 - No limit
|
||||||
;; If repository has it's own limit set in UI it will override the global setting
|
;; If repository has it's own limit set in UI it will override the global setting
|
||||||
|
;; Standard units of measurements for size can be used like B, KB, KiB, ... , EB, EiB, ...
|
||||||
;REPO_SIZE_LIMIT = 0
|
;REPO_SIZE_LIMIT = 0
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ In addition there is _`StaticRootPath`_ which can be set as a built-in at build
|
|||||||
- `ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT`: **true**: Allow fork repositories without maximum number limit
|
- `ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT`: **true**: Allow fork repositories without maximum number limit
|
||||||
- `ENABLE_SIZE_LIMIT`: **false**: Enable global per repository size
|
- `ENABLE_SIZE_LIMIT`: **false**: Enable global per repository size
|
||||||
limit defined in `REPO_SIZE_LIMIT` or at the repository itself.
|
limit defined in `REPO_SIZE_LIMIT` or at the repository itself.
|
||||||
- `REPO_SIZE_LIMIT`: **0**: The global default size limit to apply per repository in bytes when `ENABLE_SIZE_LIMIT` is `true`. Value `0` - no limit. The repository limit set via user interface by admin takes precedence over this value.
|
- `REPO_SIZE_LIMIT`: **0**: The global default size limit to apply per repository in bytes when `ENABLE_SIZE_LIMIT` is `true`. Value `0` - no limit. The repository limit set via user interface by admin takes precedence over this value. Standard units of measurements can be used with this number like - `B`, `KB`, `KiB`, `MB`, `MiB`, .... , `EB`, `EiB`, ...
|
||||||
|
|
||||||
### Repository - Editor (`repository.editor`)
|
### Repository - Editor (`repository.editor`)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user