diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2
index e2cd06cc6ba6b09e1ea155c19c52bca71595e3b2..f5b3ba20dbb8057149f3c2b699eedfb3d7770a67 100644
--- a/ansible/roles/haproxy/templates/haproxy.cfg.j2
+++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2
@@ -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