mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
proxies / haproxy: setup some retry for kojipkgs
We are having problems with connections sometimes hanging from proxies to kojipkgs. Lets try and mitigate that at the haproxy level and hopefully improve things while we try and figure out what the underlying cause is. This should retry connections that failed for any 'retryable' output (including timeout) and also it should try a _different_ backend than the one that returned the error. This will not eliminate errors, but should reduce them. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -277,6 +277,9 @@ backend kojipkgs-backend
|
||||
server kojipkgs01.{{ datacenter }}.fedoraproject.org kojipkgs01.{{ datacenter }}.fedoraproject.org:80 check inter 30s rise 1 fall 3
|
||||
server kojipkgs02.{{ datacenter }}.fedoraproject.org kojipkgs02.{{ datacenter }}.fedoraproject.org:80 check inter 30s rise 1 fall 3
|
||||
option httpchk GET /
|
||||
retries 5
|
||||
retry-on all-retryable-errors
|
||||
option redispatch 1
|
||||
{% endif %}
|
||||
|
||||
{% if datacenter == "rdu3" %}
|
||||
|
||||
Reference in New Issue
Block a user