From 22ce1602aaf6160d7053ea5ec06f24b6c9d74b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 4 Jan 2023 14:58:00 +0100 Subject: [PATCH] container/hub: increase the httpd's timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CGImport seems to be slow in certain cases. Let's increase the timeout, otherwise CGImport for the 10 GiB RAW AMI might exceed it. Fun fact: Fedora's Koji has the timeout configured to 10800 seconds. 🤯 --- test/container/hub/kojiweb.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/container/hub/kojiweb.conf b/test/container/hub/kojiweb.conf index a71a738..4d3cbd7 100644 --- a/test/container/hub/kojiweb.conf +++ b/test/container/hub/kojiweb.conf @@ -7,6 +7,9 @@ Alias /koji "/usr/share/koji-web/scripts/wsgi_publisher.py" WSGIDaemonProcess koji lang=C.UTF-8 WSGIProcessGroup koji +# CGImport tends to be slow, let's give the request more time than the default 60 seconds +TimeOut 300 + Options ExecCGI SetHandler wsgi-script