mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 04:44:26 +01:00
Reapply #2830
This commit is contained in:
parent
ce4dcf47f0
commit
2a7ef3b352
@ -75,6 +75,7 @@ impl IndexMapper {
|
||||
fs::create_dir_all(&index_path)?;
|
||||
let mut options = EnvOpenOptions::new();
|
||||
options.map_size(self.index_size);
|
||||
options.max_readers(1024);
|
||||
Ok(Index::new(options, &index_path)?)
|
||||
}
|
||||
error => error,
|
||||
|
Loading…
Reference in New Issue
Block a user