Skip to content

Commit 31c4c9e

Browse files
authored
feat: max worker (#475)
feat: set text-add max worker 200
1 parent 88993de commit 31c4c9e

File tree

1 file changed

+1
-1
lines changed
  • src/memos/memories/textual/tree_text_memory/organize

1 file changed

+1
-1
lines changed

src/memos/memories/textual/tree_text_memory/organize/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def add(
9292
"""
9393
added_ids: list[str] = []
9494

95-
with ContextThreadPoolExecutor(max_workers=20) as executor:
95+
with ContextThreadPoolExecutor(max_workers=200) as executor:
9696
futures = {executor.submit(self._process_memory, m, user_name): m for m in memories}
9797
for future in as_completed(futures, timeout=60):
9898
try:

0 commit comments

Comments
 (0)