Skip to content

Commit

Permalink
Reduce Gunicorn worker count from 2 to 1 for optimized resource usage
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT committed Jan 3, 2025
1 parent abf2585 commit 645fd73
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: python manage.py migrate --noinput
#web: newrelic-admin run-program bin/start-pgbouncer uvicorn blt.asgi:application --host 0.0.0.0 --port ${PORT}
web: gunicorn blt.wsgi --log-file - --workers 2 --worker-class gthread --threads 2 --timeout 120
web: gunicorn blt.wsgi --log-file - --workers 1 --worker-class gthread --threads 2 --timeout 120

0 comments on commit 645fd73

Please sign in to comment.