Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Fix argument order again :facepalm:

Daoud Clarkeffd24315b966
diff --git a/mwmbl/indexer/index_batches.py b/mwmbl/indexer/index_batches.py
index ceb6c4f..55397b9 100644
--- a/mwmbl/indexer/index_batches.py
+++ b/mwmbl/indexer/index_batches.py
@@ -36,7 +36,7 @@ def run(batch_cache: BatchCache, index_path: str):
index_batches(batches, index_path, url_db)
logger.info("Indexed pages")
- process_batch.run(batch_cache, BatchStatus.URLS_UPDATED, BatchStatus.INDEXED, 10000, process)
+ process_batch.run(batch_cache, BatchStatus.URLS_UPDATED, BatchStatus.INDEXED, process, 10000)
def index_batches(batch_data: Collection[HashedBatch], index_path: str, url_db: URLDatabase):