From 4e488ab2cac1094186a9020030f780a05b2e4792 Mon Sep 17 00:00:00 2001 From: "nise.moe" Date: Sat, 9 Mar 2024 12:10:45 +0100 Subject: [PATCH] Updated nise-circleguard --- nise-circleguard/Dockerfile | 2 +- nise-circleguard/readme.md | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nise-circleguard/Dockerfile b/nise-circleguard/Dockerfile index 8b84dc1..20ea861 100644 --- a/nise-circleguard/Dockerfile +++ b/nise-circleguard/Dockerfile @@ -22,7 +22,7 @@ RUN sed -i '238s|return \[x for x in arr if lower_limit < x < upper_limit\]|arr_ COPY ./src/ ./src/ -ENV GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000 --workers=6" +ENV GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000 --workers=10" # Run gunicorn with the application CMD ["gunicorn", "--chdir", "src", "main:app"] \ No newline at end of file diff --git a/nise-circleguard/readme.md b/nise-circleguard/readme.md index b0e7aa7..5fffcd7 100644 --- a/nise-circleguard/readme.md +++ b/nise-circleguard/readme.md @@ -17,6 +17,4 @@ pip install -r requirements.txt ```bash source venv/bin/activate python src/main.py -``` - -Make sure to set the `OSU_API_KEY` env variable to your osu!api v1 key. \ No newline at end of file +``` \ No newline at end of file