UI: SqliteDb: Set busy_timeout = 3 seconds

This commit is contained in:
Nodir Temirkhodjaev 2024-02-17 17:46:21 +03:00
parent 2560f2e503
commit f7119eda78

View File

@ -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;"