Skip to content

Commit

Permalink
Remove NO_SYNC (kills ACID)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Oct 18, 2023
1 parent a67cb7c commit e1578af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossip-lib/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl Storage {
pub(crate) fn new() -> Result<Storage, Error> {
let mut builder = EnvOpenOptions::new();
unsafe {
builder.flags(EnvFlags::NO_SYNC | EnvFlags::NO_TLS);
builder.flags(EnvFlags::NO_TLS);
}
// builder.max_readers(126); // this is the default
builder.max_dbs(32);
Expand Down

0 comments on commit e1578af

Please sign in to comment.