Merge changes in master to beta branch (concurrency fixes)

This commit is contained in:
Miroslav Prasil committed 2018-08-01 11:37:42 +01:00
commit b163aeb8ca
6 files changed
+79 -32

No files matched your search

+5
View File
@@ -84,6 +84,11 @@ fn check_db() {
exit(1);
}
}
// Turn on WAL in SQLite
use diesel::RunQueryDsl;
let connection = db::get_connection().expect("Can't conect to DB");
diesel::sql_query("PRAGMA journal_mode=wal").execute(&connection).expect("Failed to turn on WAL");
}
fn check_rsa_keys() {