From 4995d2b8098215061ae3460e4f5b400e960280fa Mon Sep 17 00:00:00 2001 From: gjmzj Date: Tue, 11 Jun 2019 13:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96haproxy=20=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=95=B0=E4=B8=BA50000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/ex-lb/templates/haproxy.cfg.j2 | 1 + roles/lb/templates/haproxy.cfg.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/ex-lb/templates/haproxy.cfg.j2 b/roles/ex-lb/templates/haproxy.cfg.j2 index f4cbe97..592267c 100644 --- a/roles/ex-lb/templates/haproxy.cfg.j2 +++ b/roles/ex-lb/templates/haproxy.cfg.j2 @@ -7,6 +7,7 @@ global user haproxy group haproxy daemon + maxconn 50000 nbproc 1 defaults diff --git a/roles/lb/templates/haproxy.cfg.j2 b/roles/lb/templates/haproxy.cfg.j2 index b9b3409..fd7e7a8 100644 --- a/roles/lb/templates/haproxy.cfg.j2 +++ b/roles/lb/templates/haproxy.cfg.j2 @@ -7,6 +7,7 @@ global user haproxy group haproxy daemon + maxconn 50000 nbproc 1 defaults