We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74b2348 + cc09908 commit e62400fCopy full SHA for e62400f
hivemind_etl/mediawiki/etl.py
@@ -106,7 +106,7 @@ def load(self, documents: list[Document]) -> None:
106
batch_size = 1000
107
batches = [documents[i:i + batch_size] for i in range(0, len(documents), batch_size)]
108
109
- with ThreadPoolExecutor() as executor:
+ with ThreadPoolExecutor(max_workers=10) as executor:
110
# Submit all batch processing tasks
111
future_to_batch = {
112
executor.submit(ingestion_pipeline.run_pipeline, batch): i
0 commit comments