MM: pass the host-timeout option

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-03-12 08:03:15 +01:00
parent a209bbd0b3
commit 1abbeca5d8
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 4 additions and 0 deletions

View file

@ -28,6 +28,8 @@ spec:
- "{{ cronjob.threads }}"
- "--global-timeout"
- "{{ cronjob.timeout }}"
- "--host-timeout"
- "{{ cronjob.host_timeout | default('190') }}"
- "--category"
- "{{ cronjob.category }}"
- "--{{ cronjob.include_disabled | ternary('include', 'exclude') }}-disabled"

View file

@ -34,6 +34,8 @@ mirrormanager_cron_crawler:
schedule: "0 2 * * *"
threads: 10
timeout: 600
# This can be a veeery long crawl
host_timeout: 300
include_disabled: false
- category: "Fedora Other"
schedule: "0 14 * * *"