summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-02-29 16:02:38 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-29 16:02:38 -0500
commitbf8d46ce7ffe24d65813b779f36f309c8f46542b (patch)
treedd714f3a221b4e3d0795c8ac3f339115da63807d /roles
parentfadad1f7e1934ab5542eae320af6fdaca7024479 (diff)
downloadopenshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.tar.gz
openshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.tar.bz2
openshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.tar.xz
openshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.zip
Increase maxconn settings for haproxy lb
Diffstat (limited to 'roles')
-rw-r--r--roles/haproxy/templates/haproxy.cfg.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2
index c932af72f..7ac44b23a 100644
--- a/roles/haproxy/templates/haproxy.cfg.j2
+++ b/roles/haproxy/templates/haproxy.cfg.j2
@@ -3,7 +3,7 @@
global
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
- maxconn 4000
+ maxconn {{ haproxy_global_maxconn | default('4000') }}
user haproxy
group haproxy
daemon
@@ -31,7 +31,7 @@ defaults
timeout server 300s
timeout http-keep-alive 10s
timeout check 10s
- maxconn 3000
+ maxconn {{ haproxy_default_maxconn | default('3000') }}
listen stats :9000
mode http