MM: pass the host-timeout option
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
a209bbd0b3
commit
1abbeca5d8
2 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,8 @@ spec:
|
||||||
- "{{ cronjob.threads }}"
|
- "{{ cronjob.threads }}"
|
||||||
- "--global-timeout"
|
- "--global-timeout"
|
||||||
- "{{ cronjob.timeout }}"
|
- "{{ cronjob.timeout }}"
|
||||||
|
- "--host-timeout"
|
||||||
|
- "{{ cronjob.host_timeout | default('190') }}"
|
||||||
- "--category"
|
- "--category"
|
||||||
- "{{ cronjob.category }}"
|
- "{{ cronjob.category }}"
|
||||||
- "--{{ cronjob.include_disabled | ternary('include', 'exclude') }}-disabled"
|
- "--{{ cronjob.include_disabled | ternary('include', 'exclude') }}-disabled"
|
||||||
|
|
|
@ -34,6 +34,8 @@ mirrormanager_cron_crawler:
|
||||||
schedule: "0 2 * * *"
|
schedule: "0 2 * * *"
|
||||||
threads: 10
|
threads: 10
|
||||||
timeout: 600
|
timeout: 600
|
||||||
|
# This can be a veeery long crawl
|
||||||
|
host_timeout: 300
|
||||||
include_disabled: false
|
include_disabled: false
|
||||||
- category: "Fedora Other"
|
- category: "Fedora Other"
|
||||||
schedule: "0 14 * * *"
|
schedule: "0 14 * * *"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue