From c51bf13420494baea29581514b6def419dd0093d Mon Sep 17 00:00:00 2001
From: liujunpeng <liujunpeng@inspur.com>
Date: Mon, 15 Jan 2018 20:01:26 +0800
Subject: [PATCH] add var haproxy_client_timeout and haproxy_server_timeout

Change-Id: I329307b226757144a493ff21c76125cae8468e91
---
 ansible/roles/haproxy/templates/haproxy.cfg.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2
index 335b4b9f0..50f759901 100644
--- a/ansible/roles/haproxy/templates/haproxy.cfg.j2
+++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2
@@ -873,8 +873,8 @@ defaults
   timeout http-request 10s
   timeout queue 1m
   timeout connect 10s
-  timeout client 1m
-  timeout server 1m
+  timeout client {{ haproxy_client_timeout }}
+  timeout server {{ haproxy_server_timeout }}
   timeout check 10s
 
 {% if enable_mariadb | bool %}
-- 
GitLab