Skip to content

Commit

Permalink
Update cluster docs with good timeout value
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Oct 28, 2024
1 parent 4b19b50 commit 8b0d609
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelog/66888.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update master cluster tutorial haproxy config with proper timeouts for publish port
13 changes: 6 additions & 7 deletions doc/topics/tutorials/master-cluster.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,20 @@ HAProxy:
mode tcp
bind 10.27.5.116:4505
option tcplog
timeout client 1m
# This timeout is equal to the publish_session setting of the
# masters.
timeout client 86400s
default_backend salt-master-pub-backend
backend salt-master-pub-backend
mode tcp
option tcplog
#option log-health-checks
log global
#balance source
balance roundrobin
timeout connect 10s
timeout server 1m
# This timeout is equal to the publish_session setting of the
# masters.
timeout server 86400s
server rserve1 10.27.12.13:4505 check
server rserve2 10.27.7.126:4505 check
server rserve3 10.27.3.73:4505 check
Expand All @@ -70,11 +72,8 @@ HAProxy:
backend salt-master-req-backend
mode tcp
option tcplog
#option log-health-checks
log global
balance roundrobin
#balance source
timeout connect 10s
timeout server 1m
server rserve1 10.27.12.13:4506 check
Expand Down

0 comments on commit 8b0d609

Please sign in to comment.