Skip to content

Commit

Permalink
Reduce number of workers to 2 to prevent running out of memory.
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedkadous committed Jan 9, 2024
1 parent 9b8aa5b commit b30d5da
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 -w 4 -k uvicorn.workers.UvicornWorker main_api:app
web: gunicorn -w 2 -k uvicorn.workers.UvicornWorker main_api:app

0 comments on commit b30d5da

Please sign in to comment.