Skip to content

Commit

Permalink
Fix the BadRSlot LMDB issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Sep 24, 2023
1 parent a881f9d commit 51f9b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl Storage {
pub fn new() -> Result<Storage, Error> {
let mut builder = EnvOpenOptions::new();
unsafe {
builder.flags(EnvFlags::NO_SYNC);
builder.flags(EnvFlags::NO_SYNC | EnvFlags::NO_TLS);
}
// builder.max_readers(126); // this is the default
builder.max_dbs(32);
Expand Down

0 comments on commit 51f9b2c

Please sign in to comment.