mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
make the autodeletion work with a fixed number of tasks and update the tests
This commit is contained in:
parent
972bb2831c
commit
aa7537a11e
9 changed files with 390 additions and 170 deletions
|
@ -234,6 +234,7 @@ fn open_or_create_database_unchecked(
|
|||
index_base_map_size: opt.max_index_size.get_bytes() as usize,
|
||||
indexer_config: (&opt.indexer_options).try_into()?,
|
||||
autobatching_enabled: true,
|
||||
max_number_of_tasks: 1_000_000,
|
||||
index_growth_amount: byte_unit::Byte::from_str("10GiB").unwrap().get_bytes() as usize,
|
||||
index_count: DEFAULT_INDEX_COUNT,
|
||||
})?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue