Skip to content

Commit

Permalink
Reduced number of workers to observe effect on memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoenberger committed Jul 11, 2023
1 parent a4750dd commit b8f760d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN poetry install
COPY app /app/app

EXPOSE 8000
CMD ["poetry", "run", "gunicorn", "app.main:app", "-w", "32", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]
CMD ["poetry", "run", "gunicorn", "app.main:app", "-w", "8", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]

0 comments on commit b8f760d

Please sign in to comment.