MM: add a cronjob-specific timeout
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
5439baec1b
commit
b851cc87d2
2 changed files with 10 additions and 2 deletions
|
@ -26,6 +26,8 @@ spec:
|
|||
- "/opt/app-root/bin/mm2_crawler"
|
||||
- "--threads"
|
||||
- "{{ cronjob.threads }}"
|
||||
- "--global-timeout"
|
||||
- "{{ cronjob.timeout }}"
|
||||
- "--category"
|
||||
- "{{ cronjob.category }}"
|
||||
- "crawl"
|
||||
|
|
|
@ -7,19 +7,25 @@ mm2_checkin: false
|
|||
mirrormanager_cron_crawler:
|
||||
- category: "Fedora Linux"
|
||||
schedule: "0 */12 * * *"
|
||||
threads: 20
|
||||
threads: 40
|
||||
timeout: 600
|
||||
- category: "Fedora Secondary Arches"
|
||||
schedule: "0 3,9 * * *"
|
||||
threads: 10
|
||||
timeout: 300
|
||||
- category: "Fedora EPEL"
|
||||
schedule: "45 */6 * * *"
|
||||
threads: 20
|
||||
timeout: 300
|
||||
- category: "Fedora Archive"
|
||||
schedule: "0 2 * * *"
|
||||
threads: 10
|
||||
timeout: 600
|
||||
- category: "Fedora Other"
|
||||
schedule: "0 14 * * *"
|
||||
threads: 10
|
||||
threads: 20
|
||||
timeout: 600
|
||||
- category: "CentOS"
|
||||
schedule: "0 5,11 * * *"
|
||||
threads: 20
|
||||
timeout: 300
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue