mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
Update env.py
This commit is contained in:
@@ -330,6 +330,7 @@ REDIS_SENTINEL_PORT = os.environ.get("REDIS_SENTINEL_PORT", "26379")
|
|||||||
# UVICORN WORKERS
|
# UVICORN WORKERS
|
||||||
####################################
|
####################################
|
||||||
|
|
||||||
|
# Number of uvicorn worker processes for handling requests
|
||||||
UVICORN_WORKERS = os.environ.get("UVICORN_WORKERS", "1")
|
UVICORN_WORKERS = os.environ.get("UVICORN_WORKERS", "1")
|
||||||
try:
|
try:
|
||||||
UVICORN_WORKERS = int(UVICORN_WORKERS)
|
UVICORN_WORKERS = int(UVICORN_WORKERS)
|
||||||
|
|||||||
Reference in New Issue
Block a user