forked from Deuxfleurs/garage
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:
commit
14c50f2f84
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue