Skip to content

Commit

Permalink
fix: update web server command in Procfile to use pgbouncer with uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT committed Feb 7, 2025
1 parent b0e359d commit 28e7c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release: python manage.py migrate --noinput
#web: bin/start-pgbouncer uvicorn blt.asgi:application --host 0.0.0.0 --port ${PORT}
web: gunicorn blt.wsgi --log-file - --workers 1 --worker-class gthread --threads 2 --timeout 120
web: bin/start-pgbouncer uvicorn blt.asgi:application --host 0.0.0.0 --port ${PORT} --workers 1
#web: gunicorn blt.wsgi --log-file - --workers 1 --worker-class gthread --threads 2 --timeout 120

0 comments on commit 28e7c30

Please sign in to comment.