mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
refactor: change thread_pool from Option<ThreadPoolNoAbort> to
ThreadPoolNoAbort
This commit is contained in:
parent
47a7ed93d3
commit
53f32a7dd7
6 changed files with 38 additions and 110 deletions
|
@ -768,10 +768,10 @@ impl TryFrom<&IndexerOpts> for IndexerConfig {
|
|||
.build()?;
|
||||
|
||||
Ok(Self {
|
||||
thread_pool,
|
||||
log_every_n: Some(DEFAULT_LOG_EVERY_N),
|
||||
max_memory: other.max_indexing_memory.map(|b| b.as_u64() as usize),
|
||||
max_threads: *other.max_indexing_threads,
|
||||
thread_pool: Some(thread_pool),
|
||||
max_positions_per_attributes: None,
|
||||
skip_index_budget: other.skip_index_budget,
|
||||
..Default::default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue