From da344f7d7593b02d6b4bf3dc6e4d9ddc9990b6f5 Mon Sep 17 00:00:00 2001 From: Dirk Doesburg Date: Sat, 21 Oct 2023 15:35:12 +0200 Subject: [PATCH] Experiment with gthread worker --- infra/concrexit/server-entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/concrexit/server-entrypoint.sh b/infra/concrexit/server-entrypoint.sh index b20c22613..3c547d0b5 100755 --- a/infra/concrexit/server-entrypoint.sh +++ b/infra/concrexit/server-entrypoint.sh @@ -11,7 +11,8 @@ MANAGE_PY=1 runuser -u appuser -- ./manage.py createcachetable exec runuser -u appuser -- /venv/bin/gunicorn \ --bind 0.0.0.0:8000 \ --log-level info \ + --worker-class gthread \ --workers 4 \ - --threads 20 \ + --threads 4 \ --timeout 240 \ --capture-output thaliawebsite.wsgi:application \