mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:46:03 +00:00
UI: SqliteDb: Set busy_timeout = 3 seconds
This commit is contained in:
parent
2560f2e503
commit
f7119eda78
2
src/ui/3rdparty/sqlite/sqlitedb.cpp
vendored
2
src/ui/3rdparty/sqlite/sqlitedb.cpp
vendored
@ -14,7 +14,7 @@ namespace {
|
||||
|
||||
const QLoggingCategory LC("db");
|
||||
|
||||
constexpr int DATABASE_BUSY_TIMEOUT = 2000; // 2 seconds
|
||||
constexpr int DATABASE_BUSY_TIMEOUT = 3000; // 3 seconds
|
||||
|
||||
const char *const defaultSqlPragmas = "PRAGMA journal_mode = WAL;"
|
||||
"PRAGMA locking_mode = NORMAL;"
|
||||
|
Loading…
Reference in New Issue
Block a user