On Fri, Mar 15, 2019 at 03:17:37PM +0100, Clement Verna wrote: > 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 +1 for me Pierre _______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx