[mailman3] Increase timeout for gunicorn worker

This should fix the CRITICAL WORKER TIMEOUT with Flask application.
For more info see https://github.com/benoitc/gunicorn/issues/1801

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2024-06-21 09:48:45 +02:00 committed by zlopez
parent 4e209dc725
commit 4f35e96a31

View file

@ -11,5 +11,5 @@ Type=simple
User=mailman
Group=mailman
WorkingDirectory=/etc/mailman3
ExecStart=/usr/bin/gunicorn --workers={{ mailman_gunicorn_workers }} --forwarded-allow-ips="*" mailman_web.wsgi
ExecStart=/usr/bin/gunicorn --timeout 1000 --workers={{ mailman_gunicorn_workers }} --forwarded-allow-ips="*" mailman_web.wsgi
ExecStop=/bin/kill -s TERM $MAINPID