Update to 2024-04-05 10:01

This commit is contained in:
Daniel Berteaud
2024-04-05 10:01:02 +02:00
parent 26ab80b027
commit 1b645c62cc
7 changed files with 43 additions and 9 deletions

View File

@@ -113,6 +113,10 @@ consul_base_conf:
internal_rpc:
verify_server_hostname: True
# Limits
limits: {}
# http_max_conns_per_client: 200
consul_extra_conf: {}
consul_host_conf: {}
consul_conf: "{{ consul_base_conf | combine(consul_extra_conf, recursive=True) | combine(consul_host_conf, recursive=True) }}"

View File

@@ -142,3 +142,11 @@ auto_encrypt {
}
{% endif %}
{% endif %}
limits {
{% for key in ['http_max_conns_per_client'] %}
{%- if consul_conf.limits[key] is defined %}
{{ key }} = {{ consul_conf.limits[key] }}
{%- endif %}
{%- endfor %}
}