Update api/core/workflow/nodes/knowledge_index/knowledge_index_node.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
FFXN 2026-01-12 21:59:19 +08:00 committed by GitHub
parent 76da8b4ff3
commit b32c93df6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ class KnowledgeIndexNode(Node[KnowledgeIndexNodeData]):
executor.submit(process_segment, segment) for segment in segments_to_process
]
# Wait for all tasks to complete
concurrent.futures.wait(futures)
concurrent.futures.wait(futures, timeout=300)
logger.info(
f"Successfully generated summary index for {len(segments_to_process)} segments "