Hi all,

So after setting higher timeout to the openshift route, it seems that
now we are hitting gunicorn worker default timeout (30s).

The following patch increase this value.

diff --git a/roles/openshift-apps/greenwave/templates/buildconfig.yml
b/roles/openshift-apps/greenwave/templates/buildconfig.yml
index 7bb5420ba..e293809b8 100644
--- a/roles/openshift-apps/greenwave/templates/buildconfig.yml
+++ b/roles/openshift-apps/greenwave/templates/buildconfig.yml
@@ -30,6 +30,7 @@ spec:

       # Become non-root again
       USER 1001
+      ENTRYPOINT docker/install-ca.sh && gunicorn-3 --workers 8
--timeout 330 --graceful-timeout 300 --bind 0.0.0.0:8080
--access-logfile=- --enable-stdio-inheritance greenwave.wsgi:app
   strategy:
     type: Docker
     dockerStrategy:
-- 
2.20.1

+1s ?

Thanks
_______________________________________________
infrastructure mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to