Merge pull request #68 from stenstad/master
Add timeouts handling to backend section of template.
This commit is contained in:
commit
0e697c67c9
1 changed files with 5 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue