diff options
author | Alex <alex@adnab.me> | 2023-05-09 08:52:11 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-05-09 08:52:11 +0000 |
commit | 14c50f2f84b5e4b3036e2c8c959f335e32146bfd (patch) | |
tree | b2d0d0d3581a8361da54b662bd52889e8bdc974a /src/db/lmdb_adapter.rs | |
parent | 0fab9c3b8c02399eecd3217505ef763cdb7c6108 (diff) | |
parent | 6d3ace1ea9561386bb89b0a3e66b881e8e7be5e4 (diff) | |
download | garage-14c50f2f84b5e4b3036e2c8c959f335e32146bfd.tar.gz garage-14c50f2f84b5e4b3036e2c8c959f335e32146bfd.zip |
Merge pull request 'Fix undefined macro warn! on 32-bit' (#562) from jirutka/garage:fix-undefined-warn into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/562
Diffstat (limited to 'src/db/lmdb_adapter.rs')
-rw-r--r-- | src/db/lmdb_adapter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/lmdb_adapter.rs b/src/db/lmdb_adapter.rs index 31956612..ecbc3b81 100644 --- a/src/db/lmdb_adapter.rs +++ b/src/db/lmdb_adapter.rs @@ -349,6 +349,6 @@ pub fn recommended_map_size() -> usize { #[cfg(target_pointer_width = "32")] pub fn recommended_map_size() -> usize { - warn!("LMDB is not recommended on 32-bit systems, database size will be limited"); + tracing::warn!("LMDB is not recommended on 32-bit systems, database size will be limited"); 1usize << 30 } |