Added proper timeout on haproxy
diff --git a/haproxy/files/haproxy.cfg b/haproxy/files/haproxy.cfg
index 5baf118..58c1b1e 100644
--- a/haproxy/files/haproxy.cfg
+++ b/haproxy/files/haproxy.cfg
@@ -73,11 +73,17 @@
   balance roundrobin
   mode tcp
   option tcpka
+  timeout client 300s
+  timeout server 300s
   {%- elif listen.get('type', None) == 'mysql' %}
   balance leastconn
   mode tcp
+  option httpchk
   option tcplog
-  option tcpka
+  option clitcpka
+  option srvtcpka
+  timeout client  300s
+  timeout server  300s
   option mysql-check user haproxy
   {%- elif listen.get('type', None) == 'horizon' %}
   balance  source