Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hivemind_etl/mediawiki/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def load(self, documents: list[Document]) -> None:
batch_size = 1000
batches = [documents[i:i + batch_size] for i in range(0, len(documents), batch_size)]

with ThreadPoolExecutor() as executor:
with ThreadPoolExecutor(max_workers=10) as executor:
# Submit all batch processing tasks
future_to_batch = {
executor.submit(ingestion_pipeline.run_pipeline, batch): i
Expand Down