Skip to content

Commit

Permalink
Increase gunicorn request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski committed May 16, 2024
1 parent 88786ee commit 7a8bd5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ if [[ "$ENVIRONMENT" = "development" ]]; then
python manage.py runserver 0.0.0.0:${API_PORT:-8000}
else
echo "Starting up the production server"
gunicorn core.wsgi:application --bind 0.0.0.0:${API_PORT:-8000} --capture-output --workers 4 --timeout 60 --keep-alive 60 #match ALB
gunicorn core.wsgi:application --bind 0.0.0.0:${API_PORT:-8000} --capture-output --workers 4 --timeout 240
--keep-alive 240 #match ALB
fi

0 comments on commit 7a8bd5a

Please sign in to comment.