aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkj_sh6042026-03-11 23:44:08 -0400
committerkj_sh6042026-03-11 23:44:08 -0400
commitca95b6bf2ae7bce20bb6a2d91651c86fd27c596a (patch)
treec4fb6d2e06e7f903c0b4eb4539f0aa2f5ea8dfbe /README.md
parent3ec602df2defbe06e1faf6202e2529e890ad4348 (diff)
refactor: more vps deployment -friendly settings
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 811daac..59023f0 100644
--- a/README.md
+++ b/README.md
@@ -44,10 +44,14 @@ python3 app.py
cd src/
../.venv/bin/gunicorn \
--bind 127.0.0.1:5001 \
- --workers 2 \
- --threads 4 \
- --timeout 180 \
+ --worker-class gthread \
+ --workers 1 \
+ --threads 2 \
+ --timeout 240 \
--graceful-timeout 30 \
+ --keep-alive 5 \
+ --max-requests 300 \
+ --max-requests-jitter 50 \
--access-logfile - \
--error-logfile - \
app:app