Skip to content

Commit

Permalink
Reduce HAProxy client and server timeouts to 1 minute (#878)
Browse files Browse the repository at this point in the history
Reduced timeout client and timeout server from 1 hour to 1 minute. This change only affects idle connections. Active sessions where data is being transmitted are not impacted by this timeout.

This change aims to reduce the duration of idle sessions, allowing for more efficient resource utilization and better traffic distribution across replicas.
  • Loading branch information
vitabaks authored Jan 27, 2025
1 parent 225a328 commit 2578593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ haproxy_maxconn:
master: 10000
replica: 10000
haproxy_timeout:
client: "60m"
server: "60m"
client: "60s"
server: "60s"
# Optionally declare log format for haproxy.
# Uncomment following lines (and remove extra space in front of variable definition) for JSON structured log format.
# haproxy_log_format: "{
Expand Down

0 comments on commit 2578593

Please sign in to comment.