Skip to content

Commit

Permalink
Add optional virtual_server.persistence_timeout configuration parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Metz committed Oct 9, 2021
1 parent 439568d commit 0019bce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/keepalived-virtual-server.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
{% endif %}
lvs_sched {{ vserver.lvs_sched | default ('rr') }}
lvs_method {{ vserver.lvs_method | default ('DR') }}
{% if vserver.persistence_timeout is defined %}
persistence_timeout {{ vserver.persistence_timeout }}
{% endif %}
protocol {{ vserver.protocol | default ('TCP') }}
{% if vserver.ha_suspend is defined and vserver.ha_suspend %}
ha_suspend
Expand Down

0 comments on commit 0019bce

Please sign in to comment.