Skip to content

Commit aca5821

Browse files
committed
Set gunicorn timeout
1 parent ad0f7bb commit aca5821

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

defaults/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,13 @@ __mailman3_django_config_default:
268268
# documentation and Debian packages use uWSGI, which is no longer developed.
269269
mailman3_python_wsgi_package: gunicorn
270270

271+
# gunicorn response timeout
272+
mailman3_web_timeout: 300
273+
271274
# Command executed by systemd to run the WSGI server.
272275
mailman3_wsgi_command: >-
273276
{{ mailman3_install_dir }}/bin/gunicorn
277+
--timeout {{ mailman3_web_timeout }}
274278
--pythonpath {{ mailman3_django_project_dir }}
275279
--config {{ mailman3_core_etc_dir }}/gunicorn_config.py
276280
'mailman_web.wsgi:application'

0 commit comments

Comments
 (0)