Skip to content

Commit

Permalink
Preload gunicorn in production
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Feb 7, 2020
1 parent 45d0f18 commit 9af8bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release: ./manage.py migrate
web: gunicorn --bind 0.0.0.0:$PORT --max-requests 100 stade.wsgi
web: gunicorn --bind 0.0.0.0:$PORT --preload --max-requests 100 stade.wsgi
worker: celery worker --app stade.celery --loglevel info --without-heartbeat

0 comments on commit 9af8bb6

Please sign in to comment.