mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-24 08:25:36 +02:00
refactor to remove ENABLE_SIZE_LIMIT option and replace it with -1 in the config.
This commit is contained in:
@@ -1084,14 +1084,22 @@ LEVEL = Info
|
||||
;; Allow to fork repositories without maximum number limit
|
||||
;ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT = true
|
||||
;
|
||||
;; Enable applying a global size limit defined by REPO_SIZE_LIMIT. Each repository can have a value that overrides the global limit
|
||||
;; "false" means no limit will be enforced, even if specified on a repository
|
||||
;ENABLE_SIZE_LIMIT = false
|
||||
;
|
||||
;; 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
|
||||
;; Standard units of measurements for size can be used like B, KB, KiB, ... , EB, EiB, ...
|
||||
;REPO_SIZE_LIMIT = 0
|
||||
;; Specify a global repository size limit in bytes to apply for each repository. -1 - Disabled, 0 - Enabled with no limit
|
||||
;; If repository has it's own limit set in repositiry settings UI it will override the global setting
|
||||
;; Standard units of measurements for size can be used like B, KB, KiB, ... , EB, EiB, etc or if not provided - bytes
|
||||
;; This is experimental and subject to change
|
||||
;REPO_SIZE_LIMIT = -1
|
||||
|
||||
;; Specify a global LFS size limit in bytes to apply for each repository. -1 - Disabled, 0 - Enabled with no limit
|
||||
;; If repository has it's own limit set in repository settings UI it will override the global setting
|
||||
;; Standard units of measurements for size can be used like B, KB, KiB, ... , EB, EiB, etc or if not provided - bytes
|
||||
;; This is experimental and subject to change
|
||||
;LFS_SIZE_LIMIT = -1
|
||||
;;
|
||||
;; If true, LFS size will be included in the repository size calculation.
|
||||
;; Which means even if LFS_SIZE_LIMIT is not set (-1) pushes will be rejected if LFS size + repository size exceeds REPO_SIZE_LIMIT
|
||||
;; This is experimental and subject to change
|
||||
;LFS_SIZE_IN_REPO_SIZE = false
|
||||
|
||||
;; Allow to fork repositories into the same owner (user or organization)
|
||||
;; This feature is experimental, not fully tested, and may be changed in the future
|
||||
|
||||
Reference in New Issue
Block a user