Skip to content

Commit

Permalink
make number of workers a variable so it can be set differently in dif…
Browse files Browse the repository at this point in the history
…ferent environments
  • Loading branch information
mark-meyer committed Sep 26, 2023
1 parent 4d09190 commit ee8dcbd
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 +1 @@
web: gunicorn -b :$PORT training.main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker
web: gunicorn -b :$PORT training.main:app --workers $NUM_WORKERS --worker-class uvicorn.workers.UvicornWorker

0 comments on commit ee8dcbd

Please sign in to comment.