mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-08 20:06:50 +08:00
Make sure arroy is using the rayon thread-pool
This commit is contained in:
parent
78867b6852
commit
2b0e17ede0
@ -191,13 +191,16 @@ where
|
|||||||
|
|
||||||
indexing_context.progress.update_progress(IndexingStep::WritingEmbeddingsToDatabase);
|
indexing_context.progress.update_progress(IndexingStep::WritingEmbeddingsToDatabase);
|
||||||
|
|
||||||
|
pool.install(|| {
|
||||||
build_vectors(
|
build_vectors(
|
||||||
index,
|
index,
|
||||||
wtxn,
|
wtxn,
|
||||||
index_embeddings,
|
index_embeddings,
|
||||||
&mut arroy_writers,
|
&mut arroy_writers,
|
||||||
&indexing_context.must_stop_processing,
|
&indexing_context.must_stop_processing,
|
||||||
)?;
|
)
|
||||||
|
})
|
||||||
|
.unwrap()?;
|
||||||
|
|
||||||
post_processing::post_process(
|
post_processing::post_process(
|
||||||
indexing_context,
|
indexing_context,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user