mirror of
https://github.com/ShadowJonathan/conduit_toolbox.git
synced 2025-06-07 18:07:08 +03:00
Comment out map_size
This commit is contained in:
parent
df8d3c95de
commit
a04057ed4c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ impl From<heed::Error> for HeedError {
|
|||
|
||||
pub fn new_db<P: AsRef<Path>>(path: P) -> Result<heed::Env, HeedError> {
|
||||
let mut env_builder = heed::EnvOpenOptions::new();
|
||||
env_builder.map_size(1024 * 1024 * 1024); // 1 Terabyte
|
||||
// env_builder.map_size(1024 * 1024 * 1024); // 1 Terabyte
|
||||
env_builder.max_readers(126);
|
||||
env_builder.max_dbs(128);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue