mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Open Env without TLS
This commit is contained in:
parent
48a27f669e
commit
34df44a002
9 changed files with 18 additions and 9 deletions
|
@ -65,7 +65,8 @@ pub fn base_setup(conf: &Conf) -> Index {
|
|||
}
|
||||
create_dir_all(conf.database_name).unwrap();
|
||||
|
||||
let mut options = EnvOpenOptions::new();
|
||||
let options = EnvOpenOptions::new();
|
||||
let mut options = options.read_txn_without_tls();
|
||||
options.map_size(100 * 1024 * 1024 * 1024); // 100 GB
|
||||
options.max_readers(100);
|
||||
let index = Index::new(options, conf.database_name, true).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue