mirror of https://github.com/langgenius/dify.git
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:
parent
76da8b4ff3
commit
b32c93df6f
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Reference in New Issue