aboutsummaryrefslogtreecommitdiff
path: root/src/db/lmdb_adapter.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-15 18:31:19 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-15 18:31:19 +0200
commitac03fa7937d9da29d2358343a499fe9d15ac5f7c (patch)
tree192cae10cca09569ed5a3c897467158c193d6ccf /src/db/lmdb_adapter.rs
parent4f38cadf6e2963a652ed28327d1c2ccfa2ebb2b7 (diff)
downloadgarage-ac03fa7937d9da29d2358343a499fe9d15ac5f7c.tar.gz
garage-ac03fa7937d9da29d2358343a499fe9d15ac5f7c.zip
Uniformize tracing::* imports (hopefully fixes 32-bit build)fix-32bit-build
Diffstat (limited to 'src/db/lmdb_adapter.rs')
-rw-r--r--src/db/lmdb_adapter.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/db/lmdb_adapter.rs b/src/db/lmdb_adapter.rs
index fdb254c6..c036c990 100644
--- a/src/db/lmdb_adapter.rs
+++ b/src/db/lmdb_adapter.rs
@@ -345,7 +345,6 @@ pub fn recommended_map_size() -> usize {
#[cfg(target_pointer_width = "32")]
pub fn recommended_map_size() -> usize {
- use log::warn;
warn!("LMDB is not recommended on 32-bit systems, database size will be limited");
1usize << 30
}