From 8716efb61308f9fa9777a8d09cbf573f09443585 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Sat, 28 Dec 2024 15:06:29 -0500 Subject: [PATCH] Increase Gunicorn timeout and worker count in entrypoint script for improved performance --- backend/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index fa81d11..48adee3 100644 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -39,4 +39,4 @@ python manage.py download-countries cat /code/adventurelog.txt # Start gunicorn -gunicorn main.wsgi:application --bind 0.0.0.0:8000 \ No newline at end of file +gunicorn main.wsgi:application --bind 0.0.0.0:8000 --timeout 120 --workers 2 \ No newline at end of file