Skip to content

Commit

Permalink
Optimize gunicorn parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed May 1, 2019
1 parent dff1a8e commit a17305c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ case "$1" in
echo "Starting Django application via Gunicorn"
python manage.py check --deploy
# Disable access log?
exec gunicorn -b :8000 --worker-class gevent --worker-connections 20 --timeout 10 --graceful-timeout 30 --access-logfile - project_novis.wsgi
exec gunicorn -b :8000 --workers=2 --threads=2 --timeout 20 --graceful-timeout 30 --keep-alive 4 --access-logfile - project_novis.wsgi
;;
help)
show_help
Expand Down

0 comments on commit a17305c

Please sign in to comment.