diff options
author | zeripath <art27@cantab.net> | 2021-11-23 03:09:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 22:09:35 -0500 |
commit | 188fd2dd1a778ad140a569b31d2bf6c95e2a6bae (patch) | |
tree | 9e10531fbeaf7df945b0d10e3ffce620d3d6d696 /custom/conf/app.example.ini | |
parent | 9450410ff71db5c6076fbe72e4b47fc9798b8d14 (diff) | |
download | gitea-188fd2dd1a778ad140a569b31d2bf6c95e2a6bae.tar.gz gitea-188fd2dd1a778ad140a569b31d2bf6c95e2a6bae.zip |
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568)
Diffstat (limited to 'custom/conf/app.example.ini')
-rw-r--r-- | custom/conf/app.example.ini | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 066e7e2cda..18985e04e9 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1719,6 +1719,12 @@ PATH = ;RUN_AT_START = false ;; Notice if not success ;NO_SUCCESS_NOTICE = true +;; Limit the number of mirrors added to the queue to this number +;; (negative values mean no limit, 0 will result in no result in no mirrors being queued effectively disabling pull mirror updating.) +;PULL_LIMIT=50 +;; Limit the number of mirrors added to the queue to this number +;; (negative values mean no limit, 0 will result in no mirrors being queued effectively disabling push mirror updating) +;PUSH_LIMIT=50 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |