From 1b8b94a14d6d516485c3e639b0cda090db8b5b82 Mon Sep 17 00:00:00 2001 From: Jona Koudijs Date: Thu, 13 Apr 2023 14:57:16 +0200 Subject: [PATCH] Change settings for stability --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4fe7ffc..27285f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV USER steamcmd ENV HOME /data ENV PORT 8000 -ENV WORKERS 2 +ENV WORKERS 4 ################## BEGIN INSTALLATION ###################### @@ -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 \ No newline at end of file +CMD gunicorn main:app --max-requests 3000 --max-requests-jitter 150 --workers $WORKERS --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT \ No newline at end of file