Compare commits

..

1 Commits

Author SHA1 Message Date
Alex Auvolat 4542c53e90 Enable k2v feature flag in CI 2022-07-13 16:07:48 +02:00
4 changed files with 4 additions and 3 deletions
-3
View File
@@ -1,6 +1,3 @@
#[macro_use]
extern crate tracing;
pub mod lmdb_adapter;
pub mod sled_adapter;
pub mod sqlite_adapter;
+1
View File
@@ -345,6 +345,7 @@ 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
}
+2
View File
@@ -6,6 +6,8 @@ use std::pin::Pin;
use std::ptr::NonNull;
use std::sync::{Arc, Mutex, MutexGuard};
use tracing::trace;
use rusqlite::{params, Connection, Rows, Statement, Transaction};
use crate::{
+1
View File
@@ -9,6 +9,7 @@ use futures::StreamExt;
use serde::{Deserialize, Serialize};
use tokio::select;
use tokio::sync::{mpsc, watch};
use tracing::*;
use crate::background::WorkerInfo;
use crate::error::Error;