Skip to content

Commit

Permalink
auto-repair false for local async client
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Apr 24, 2022
1 parent 0d2a192 commit 398285b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client_local_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ impl YedbClientLocalAsync {
pub fn open(path: &str, timeout: Duration) -> Result<Self, Error> {
let mut db = Database::new();
db.timeout = timeout;
db.auto_repair = false;
db.set_db_path(path)?;
db.open()?;
Ok(Self {
Expand Down

0 comments on commit 398285b

Please sign in to comment.