Skip to content

Commit

Permalink
Change settings for stability
Browse files Browse the repository at this point in the history
  • Loading branch information
jonakoudijs committed Apr 13, 2023
1 parent a7226ec commit 1b8b94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV USER steamcmd
ENV HOME /data

ENV PORT 8000
ENV WORKERS 2
ENV WORKERS 4

################## BEGIN INSTALLATION ######################

Expand All @@ -29,4 +29,4 @@ COPY --chown=$USER:$USER src/ $HOME/
##################### INSTALLATION END #####################

# Set default container command
CMD gunicorn main:app --max-requests 5000 --max-requests-jitter 200 --workers $WORKERS --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT
CMD gunicorn main:app --max-requests 3000 --max-requests-jitter 150 --workers $WORKERS --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT

0 comments on commit 1b8b94a

Please sign in to comment.