From 1b7166b8af50f94b9dd45ee97d7b190adeca5a87 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 28 Nov 2025 00:49:19 -0500 Subject: [PATCH] Add 4 workers to fully utilize performance CPUs and RAM - Increase from 1 to 4 Uvicorn workers - Better utilizes 2 CPU cores and 4GB RAM - Improves concurrent request handling 4x - Each worker ~200-400MB, leaves plenty of headroom for caching --- kjvstudy_org/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kjvstudy_org/main.py b/kjvstudy_org/main.py index 79daddf..5f6afd0 100644 --- a/kjvstudy_org/main.py +++ b/kjvstudy_org/main.py @@ -9,7 +9,8 @@ def main(): host="0.0.0.0", port=8000, reload=False, - log_level="info" + log_level="info", + workers=4 )