Set default timeout in seconds for mysql proxy
PROD-36501
Change-Id: I9e5cbc5089737a899dca62ab853e7880e02c3876
diff --git a/haproxy/files/haproxy.cfg b/haproxy/files/haproxy.cfg
index afa0f1a..6cde997 100644
--- a/haproxy/files/haproxy.cfg
+++ b/haproxy/files/haproxy.cfg
@@ -118,8 +118,8 @@
option tcplog
option clitcpka
option srvtcpka
- timeout client {{ checktimeout(proxy.get('timeout', {}).get('client', '28810')) }}
- timeout server {{ checktimeout(proxy.get('timeout', {}).get('server', '28810')) }}
+ timeout client {{ checktimeout(proxy.get('timeout', {}).get('client', '28810s')) }}
+ timeout server {{ checktimeout(proxy.get('timeout', {}).get('server', '28810s')) }}
{%- if listen.get('health-check', {}).get('mysql', {}).get('enabled', True) %}
# option conflict's with port check of clustercheck script, if enabled haproxy reports invalid reponse
option mysql-check user haproxy