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
This commit is contained in:
commit
14c50f2f84
@ -349,6 +349,6 @@ pub fn recommended_map_size() -> usize {
|
|||||||
|
|
||||||
#[cfg(target_pointer_width = "32")]
|
#[cfg(target_pointer_width = "32")]
|
||||||
pub fn recommended_map_size() -> usize {
|
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
|
1usize << 30
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user