mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 11:27:46 +01:00
perf: set shorter timeout for playwright and make it configurable
This commit is contained in:
@@ -2081,6 +2081,12 @@ PLAYWRIGHT_WS_URI = PersistentConfig(
|
||||
os.environ.get("PLAYWRIGHT_WS_URI", None),
|
||||
)
|
||||
|
||||
PLAYWRIGHT_GOTO_TIMEOUT = PersistentConfig(
|
||||
"PLAYWRIGHT_GOTO_TIMEOUT",
|
||||
"rag.web.loader.engine.playwright.goto.timeout",
|
||||
int(os.environ.get("PLAYWRIGHT_GOTO_TIMEOUT", "10")),
|
||||
)
|
||||
|
||||
FIRECRAWL_API_KEY = PersistentConfig(
|
||||
"FIRECRAWL_API_KEY",
|
||||
"firecrawl.api_key",
|
||||
|
||||
Reference in New Issue
Block a user