From b5831a807480727db3501c91f811e7c46ea2f11c Mon Sep 17 00:00:00 2001 From: Cal Ellowitz Date: Tue, 17 Sep 2024 10:50:39 -0400 Subject: [PATCH 1/2] Use gevent workers --- docker/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start b/docker/start index fe80f5eb..87a5b20d 100644 --- a/docker/start +++ b/docker/start @@ -5,4 +5,4 @@ set -o pipefail set -o nounset -gunicorn config.wsgi --bind 0.0.0.0:8000 --chdir=/app --timeout 300 +gunicorn config.wsgi --bind 0.0.0.0:8000 --chdir=/app -k gevent -w 2 From 757471b373d815a316e98bbc69c085874e2e13a8 Mon Sep 17 00:00:00 2001 From: Cal Ellowitz Date: Tue, 17 Sep 2024 10:59:03 -0400 Subject: [PATCH 2/2] Update start_migrate as well --- docker/start_migrate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start_migrate b/docker/start_migrate index bb73d54d..74f56c74 100644 --- a/docker/start_migrate +++ b/docker/start_migrate @@ -8,4 +8,4 @@ set -o nounset echo "Django migrate" python manage.py migrate --noinput echo "Run Gunicorn" -gunicorn config.wsgi --bind 0.0.0.0:8000 --chdir=/app --timeout 300 +gunicorn config.wsgi --bind 0.0.0.0:8000 --chdir=/app -k gevent -w 2