diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-06 16:51:00 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-06 16:51:00 +0200 |
commit | 72a87c86867e6d440ff810513f572bb7d2a646b6 (patch) | |
tree | fdaa5d94ddc1eb1f8e70a4ed14a56cf490712096 /src/db/bin/convert.rs | |
parent | fd2fe18de3eb245aaab78abf924301e3d4a1734f (diff) | |
download | garage-72a87c86867e6d440ff810513f572bb7d2a646b6.tar.gz garage-72a87c86867e6d440ff810513f572bb7d2a646b6.zip |
Add inline marker on a bunch of db functions
Diffstat (limited to 'src/db/bin/convert.rs')
-rw-r--r-- | src/db/bin/convert.rs | 4 |
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 |