Skip to content

Commit

Permalink
Merge pull request #392 from dimagi/gevent-workers
Browse files Browse the repository at this point in the history
Use gevent workers
  • Loading branch information
calellowitz authored Sep 17, 2024
2 parents 8bedd96 + 757471b commit db2cf26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/start
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docker/start_migrate
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit db2cf26

Please sign in to comment.