From e16fdf0b3d93e7539fcdc3ec624488aed1af7f59 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Wed, 18 Dec 2019 10:47:31 +0100 Subject: [PATCH] Bodhi: add a request-timeout to the wsgi daemon Signed-off-by: Clement Verna --- roles/bodhi2/base/templates/httpd.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bodhi2/base/templates/httpd.conf.j2 b/roles/bodhi2/base/templates/httpd.conf.j2 index 37ec36678d..2b4d495950 100644 --- a/roles/bodhi2/base/templates/httpd.conf.j2 +++ b/roles/bodhi2/base/templates/httpd.conf.j2 @@ -61,10 +61,10 @@ Alias /static/v{{ bodhi_version.split('-')[0] }} /srv/bodhi/bodhi/server/static/ {% else %} Alias /static/v{{ bodhi_version.split('-')[0] }} /usr/lib/python3.7/site-packages/bodhi/server/static/ {% endif %} -WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 home=/httpdir +WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 home=/httpdir request-timeout=60 WSGIApplicationGroup %{GLOBAL} WSGISocketPrefix run/wsgi WSGIRestrictStdout Off WSGIRestrictSignal Off WSGIPythonOptimize 1 -WSGIScriptAlias / /usr/share/bodhi/bodhi.wsgi \ No newline at end of file +WSGIScriptAlias / /usr/share/bodhi/bodhi.wsgi