aboutsummaryrefslogtreecommitdiff
path: root/src/db/bin/convert.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/bin/convert.rs')
-rw-r--r--src/db/bin/convert.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/db/bin/convert.rs b/src/db/bin/convert.rs
index e5778abb..9e45e61f 100644
--- a/src/db/bin/convert.rs
+++ b/src/db/bin/convert.rs
@@ -56,7 +56,9 @@ fn open_db(path: PathBuf, engine: String) -> Result<Db> {
})?;
let map_size = if u32::MAX as usize == usize::MAX {
- eprintln!("LMDB is not recommended on 32-bit systems, database size will be limited");
+ eprintln!(
+ "LMDB is not recommended on 32-bit systems, database size will be limited"
+ );
1usize << 30 // 1GB for 32-bit systems
} else {
1usize << 40 // 1TB for 64-bit systems