feat: WEB_LOADER_TIMEOUT

This commit is contained in:
Timothy Jaeryang Baek
2025-12-08 11:49:27 -05:00
parent bcd50ed8f1
commit b02397e460
5 changed files with 42 additions and 0 deletions
+7
View File
@@ -635,6 +635,7 @@ OAUTH_AUDIENCE = PersistentConfig(
os.environ.get("OAUTH_AUDIENCE", ""),
)
def load_oauth_providers():
OAUTH_PROVIDERS.clear()
if GOOGLE_CLIENT_ID.value and GOOGLE_CLIENT_SECRET.value:
@@ -2999,6 +3000,12 @@ WEB_LOADER_CONCURRENT_REQUESTS = PersistentConfig(
int(os.getenv("WEB_LOADER_CONCURRENT_REQUESTS", "10")),
)
WEB_LOADER_TIMEOUT = PersistentConfig(
"WEB_LOADER_TIMEOUT",
"rag.web.loader.timeout",
os.getenv("WEB_LOADER_TIMEOUT", ""),
)
ENABLE_WEB_LOADER_SSL_VERIFICATION = PersistentConfig(
"ENABLE_WEB_LOADER_SSL_VERIFICATION",