Make sure arroy is using the rayon thread-pool

This commit is contained in:
Kerollmops 2025-02-06 15:28:10 +01:00
parent 78867b6852
commit 2b0e17ede0
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -191,13 +191,16 @@ where
indexing_context.progress.update_progress(IndexingStep::WritingEmbeddingsToDatabase);
pool.install(|| {
build_vectors(
index,
wtxn,
index_embeddings,
&mut arroy_writers,
&indexing_context.must_stop_processing,
)?;
)
})
.unwrap()?;
post_processing::post_process(
indexing_context,