This commit is contained in:
2026-06-20 06:41:40 -04:00
parent 044ce40e69
commit 733e9b426f
9 changed files with 471 additions and 86 deletions
+2 -2
View File
@@ -188,8 +188,8 @@ echo ""
# Start the application with appropriate settings
if [ "${ENVIRONMENT}" = "production" ]; then
echo "Starting in PRODUCTION mode with multiple workers..."
exec uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers ${WORKERS:-4}
echo "Starting in PRODUCTION mode with a single worker for in-process WebSocket broadcasts..."
exec uvicorn app.main:app --host 0.0.0.0 --port 8000
else
echo "Starting in DEVELOPMENT mode with auto-reload..."
exec uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload