From e761c1e6d41f60df87681693aa47b93ff96a7d2f Mon Sep 17 00:00:00 2001 From: psy <psy@cccv.de> Date: Thu, 7 Sep 2023 10:17:46 +0200 Subject: [PATCH] add setting for web_concurrency --- defaults/main.yml | 4 ++++ tasks/main.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index c89062a..0611098 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -26,6 +26,10 @@ zammad: geo_ip_backend: "" geo_location_backend: "" image_backend: "" + environment: + # How many instances of the application server to keep open at a time. + # Increasing this can reduce loading times when too many users are on Zammad at once. + web_concurrency: 1 email_signatures: {} #email_notification_settings: {} email_notification_templates: {} diff --git a/tasks/main.yml b/tasks/main.yml index fb6df73..210e2a8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -80,6 +80,9 @@ overviews: "{{ zammad.overviews }}" notify: build zammad elastic search index +- name: set zammad environment variables + ansible.builtin.shell: "zammad config:set WEB_CONCURRENCY={{ zammad.environment.web_concurrency }}" + - name: update notification templates zammad_notification_templates: templates: "{{ zammad.email_notification_templates }}" -- GitLab