mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Increase the number of readers as the indexer uses readers too
This commit is contained in:
parent
1aef0e4037
commit
b4bf7ce9b0
@ -35,7 +35,7 @@ fn setup_index() -> Index {
|
||||
setup_dir(path);
|
||||
let mut options = EnvOpenOptions::new();
|
||||
options.map_size(100 * 1024 * 1024 * 1024); // 100 GB
|
||||
options.max_readers(10);
|
||||
options.max_readers(100);
|
||||
Index::new(options, path).unwrap()
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ pub fn base_setup(conf: &Conf) -> Index {
|
||||
|
||||
let mut options = EnvOpenOptions::new();
|
||||
options.map_size(100 * 1024 * 1024 * 1024); // 100 GB
|
||||
options.max_readers(10);
|
||||
options.max_readers(100);
|
||||
let index = Index::new(options, conf.database_name).unwrap();
|
||||
|
||||
let config = IndexerConfig::default();
|
||||
|
Loading…
Reference in New Issue
Block a user