mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Increase max concurrent readers on indexes
This commit is contained in:
parent
2827ff7957
commit
88e69f4302
3 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,7 @@ impl Index {
|
|||
|
||||
let mut options = EnvOpenOptions::new();
|
||||
options.map_size(size);
|
||||
options.max_readers(1024);
|
||||
let index = milli::Index::new(options, &dst_dir_path)?;
|
||||
|
||||
let mut txn = index.write_txn()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue