Update env.py

This commit is contained in:
DrMelone
2025-04-08 18:47:48 +02:00
committed by GitHub
parent f822d89350
commit 4c9a791b06

View File

@@ -330,6 +330,7 @@ REDIS_SENTINEL_PORT = os.environ.get("REDIS_SENTINEL_PORT", "26379")
# UVICORN WORKERS
####################################
# Number of uvicorn worker processes for handling requests
UVICORN_WORKERS = os.environ.get("UVICORN_WORKERS", "1")
try:
UVICORN_WORKERS = int(UVICORN_WORKERS)