Increase the disk usage limit

This commit is contained in:
Clément Renault 2019-12-22 00:37:22 +01:00
parent 1e1f0fcaf5
commit 8c140f6bcd
No known key found for this signature in database
GPG Key ID: 0151CDAB43460DAE

View File

@ -141,13 +141,13 @@ impl Database {
fs::create_dir_all(&main_path)?;
let env = heed::EnvOpenOptions::new()
.map_size(10 * 1024 * 1024 * 1024) // 10GB
.map_size(100 * 1024 * 1024 * 1024) // 100GB
.max_dbs(3000)
.open(main_path)?;
fs::create_dir_all(&update_path)?;
let update_env = heed::EnvOpenOptions::new()
.map_size(10 * 1024 * 1024 * 1024) // 10GB
.map_size(100 * 1024 * 1024 * 1024) // 100GB
.max_dbs(3000)
.open(update_path)?;