refactor: up rag ingest timeout

This commit is contained in:
youhuanghe
2026-03-13 02:37:32 +00:00
parent 20f5ebd9b8
commit 6e77351eda

View File

@@ -993,7 +993,7 @@ class RuntimeConnectionHandler(handler.Handler):
result = await self.call_action(
LangBotToRuntimeAction.RAG_INGEST_DOCUMENT,
{'plugin_author': plugin_author, 'plugin_name': plugin_name, 'context': context_data},
timeout=300, # Ingestion can be slow
timeout=1200, # Ingestion can be slow for large documents
)
return result