Add timeouts handling to backend section of template.

This commit is contained in:
Dag Stenstad 2017-10-11 15:55:03 +02:00
parent 2f2feec25e
commit 5a1d62f9ac

View file

@ -472,6 +472,11 @@ backend {{ backend.get('name', backend_name) }}
{%- if 'balance' in backend %} {%- if 'balance' in backend %}
balance {{ backend.balance }} balance {{ backend.balance }}
{%- endif %} {%- endif %}
{%- if 'timeouts' in backend %}
{%- for timeout in backend.timeouts %}
timeout {{ timeout }}
{%- endfor %}
{%- endif %}
{%- if 'options' in backend %} {%- if 'options' in backend %}
{%- if backend.options is string %} {%- if backend.options is string %}
option {{ backend.options }} option {{ backend.options }}