You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PULL_LIMIT and PUSH_LIMIT to cron.update_mirror task
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task to limit
the number of mirrors added to the queue each time the cron task is run.
Fix#16982
Signed-off-by: Andrew Thornton <[email protected]>
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+2
Original file line number
Diff line number
Diff line change
@@ -791,6 +791,8 @@ NB: You must have `DISABLE_ROUTER_LOG` set to `false` for this option to take ef
791
791
792
792
-`SCHEDULE`: **@every 10m**: Cron syntax for scheduling update mirrors, e.g. `@every 3h`.
793
793
-`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.
794
+
-`PULL_LIMIT`: **50**: Limit the number of mirrors added to the queue to this number (set to -1 to add all).
795
+
-`PUSH_LIMIT`: **50**: Limit the number of mirrors added to the queue to this number (set to -1 to add all).
794
796
795
797
#### Cron - Repository Health Check (`cron.repo_health_check`)
0 commit comments