mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
Increase the disk usage limit
This commit is contained in:
parent
1e1f0fcaf5
commit
8c140f6bcd
@ -141,13 +141,13 @@ impl Database {
|
|||||||
|
|
||||||
fs::create_dir_all(&main_path)?;
|
fs::create_dir_all(&main_path)?;
|
||||||
let env = heed::EnvOpenOptions::new()
|
let env = heed::EnvOpenOptions::new()
|
||||||
.map_size(10 * 1024 * 1024 * 1024) // 10GB
|
.map_size(100 * 1024 * 1024 * 1024) // 100GB
|
||||||
.max_dbs(3000)
|
.max_dbs(3000)
|
||||||
.open(main_path)?;
|
.open(main_path)?;
|
||||||
|
|
||||||
fs::create_dir_all(&update_path)?;
|
fs::create_dir_all(&update_path)?;
|
||||||
let update_env = heed::EnvOpenOptions::new()
|
let update_env = heed::EnvOpenOptions::new()
|
||||||
.map_size(10 * 1024 * 1024 * 1024) // 10GB
|
.map_size(100 * 1024 * 1024 * 1024) // 100GB
|
||||||
.max_dbs(3000)
|
.max_dbs(3000)
|
||||||
.open(update_path)?;
|
.open(update_path)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user