set synchronous to NORMAL for all connections
parent
98720118d3
commit
cec3c4891e
|
@ -219,6 +219,10 @@ impl ConnectionOptions {
|
|||
trace!("Setting busy_timeout to {:?}", duration);
|
||||
conn.execute(&format!("PRAGMA busy_timeout = {};", duration.as_millis()))?;
|
||||
}
|
||||
|
||||
trace!("Setting \"synchronous\" to NORMAL");
|
||||
conn.execute("PRAGMA synchronous = NORMAL;")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue