Plug the NoPanicThreadPool in the tests and benchmarks

This commit is contained in:
Clément Renault
2024-11-27 17:04:49 +01:00
parent e83534a430
commit da650f834e
10 changed files with 52 additions and 0 deletions

View File

@ -83,6 +83,7 @@ pub fn setup_search_index_with_criteria(criteria: &[Criterion]) -> Index {
indexer::index(
&mut wtxn,
&index,
&crate::ThreadPoolNoAbortBuilder::new().build().unwrap(),
config.grenad_parameters(),
&db_fields_ids_map,
new_fields_ids_map,