Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-23 05:20:28 +01:00
Merge pull request #803 from aeolyus/master
Minor typo conect -> connect
Dieser Commit ist enthalten in:
Commit
96a189deb9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -157,7 +157,7 @@ fn check_db() {
|
||||||
// Turn on WAL in SQLite
|
// Turn on WAL in SQLite
|
||||||
if CONFIG.enable_db_wal() {
|
if CONFIG.enable_db_wal() {
|
||||||
use diesel::RunQueryDsl;
|
use diesel::RunQueryDsl;
|
||||||
let connection = db::get_connection().expect("Can't conect to DB");
|
let connection = db::get_connection().expect("Can't connect to DB");
|
||||||
diesel::sql_query("PRAGMA journal_mode=wal")
|
diesel::sql_query("PRAGMA journal_mode=wal")
|
||||||
.execute(&connection)
|
.execute(&connection)
|
||||||
.expect("Failed to turn on WAL");
|
.expect("Failed to turn on WAL");
|
||||||
|
|
Laden …
In neuem Issue referenzieren