Add possibility to global:maxconn option
* Global maxconn is the maximum number of connections
handled by the haproxy process.
* Set default to 25000
Change-Id: Icf37fdb894b79322ff737080fc0376b24cd36ac8
Closes-Bug: PROD-23078 (PROD:23078)
diff --git a/haproxy/map.jinja b/haproxy/map.jinja
index 966f342..a6f0078 100644
--- a/haproxy/map.jinja
+++ b/haproxy/map.jinja
@@ -3,13 +3,20 @@
'pkgs': ['haproxy'],
'service': 'haproxy',
'stats_socket': '/run/haproxy/admin.sock',
+ 'global': {
+ 'maxconn' : 25000
+ }
},
'RedHat': {
'pkgs': ['haproxy'],
'service': 'haproxy',
'stats_socket': '/var/lib/haproxy/stats',
+ 'global': {
+ 'maxconn' : 25000
+ }
},
}, merge=salt['pillar.get']('haproxy:proxy')) %}
+
{% set invalid_section_options = {
'frontend': [
'abortonclose',