mirror of
https://github.com/open-webui/open-webui
synced 2025-05-30 18:39:15 +00:00
Update env.py
This commit is contained in:
parent
f822d89350
commit
4c9a791b06
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user