Merge pull request 'Fix undefined macro warn! on 32-bit' (#562) from jirutka/garage:fix-undefined-warn into main

Reviewed-on: Deuxfleurs/garage#562
This commit is contained in:
Alex 2023-05-09 08:52:11 +00:00
commit 14c50f2f84

View file

@ -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
}