Skip to content
Snippets Groups Projects
Commit d2c4f3d1 authored by Vladislav Belogrudov's avatar Vladislav Belogrudov
Browse files

Icrease haproxy timeouts for mysql connections

Haproxy often breaks mysql connections that results in
"MySQL server has gone away" or similar because of 1 minute
timeouts. Instead the timeouts should be not less than mysql
connections timeouts - in most cases set to 3600s by default
by OpenStack projects.

Change-Id: Ic364f6942cdc6c2f274a508ae548bf964b098da4
Closes-Bug: #1645098
parent 5a4cb8a5
No related branches found
No related tags found
No related merge requests found
......@@ -638,6 +638,8 @@ defaults
{% if enable_mariadb | bool %}
listen mariadb
mode tcp
timeout client 3600s
timeout server 3600s
option tcplog
option tcpka
option mysql-check user haproxy post-41
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment