enh: websocket redis support

This commit is contained in:
Timothy J. Baek
2024-09-20 23:43:22 +02:00
parent e599d5db3c
commit ffd7d74f77
2 changed files with 25 additions and 8 deletions

View File

@@ -302,3 +302,7 @@ if WEBUI_AUTH and WEBUI_SECRET_KEY == "":
ENABLE_WEBSOCKET_SUPPORT = (
os.environ.get("ENABLE_WEBSOCKET_SUPPORT", "True").lower() == "true"
)
WEBSOCKET_MANAGER = os.environ.get("WEBSOCKET_MANAGER", "")
WEBSOCKET_REDIS_URL = os.environ.get("WEBSOCKET_REDIS_URL", "redis://localhost:6379/0")