summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-11-23 03:09:35 +0000
committerGitHub <noreply@github.com>2021-11-22 22:09:35 -0500
commit188fd2dd1a778ad140a569b31d2bf6c95e2a6bae (patch)
tree9e10531fbeaf7df945b0d10e3ffce620d3d6d696 /docs
parent9450410ff71db5c6076fbe72e4b47fc9798b8d14 (diff)
downloadgitea-188fd2dd1a778ad140a569b31d2bf6c95e2a6bae.tar.gz
gitea-188fd2dd1a778ad140a569b31d2bf6c95e2a6bae.zip
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 10ba325ddc..3e9b279614 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -828,6 +828,8 @@ NB: You must have `DISABLE_ROUTER_LOG` set to `false` for this option to take ef
- `SCHEDULE`: **@every 10m**: Cron syntax for scheduling update mirrors, e.g. `@every 3h`.
- `NO_SUCCESS_NOTICE`: **true**: The cron task for update mirrors success report is not very useful - as it just means that the mirrors have been queued. Therefore this is turned off by default.
+- `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 pull mirror updating).
+- `PUSH_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).
#### Cron - Repository Health Check (`cron.repo_health_check`)