diff --git a/src/DBConnection.cpp b/src/DBConnection.cpp index 0268e8e31..746800215 100644 --- a/src/DBConnection.cpp +++ b/src/DBConnection.cpp @@ -25,6 +25,7 @@ Paul Licameli -- split from ProjectFileIO.cpp // Configuration to provide "safe" connections static const char *SafeConfig = + "PRAGMA .busy_timeout = 5000;" "PRAGMA .locking_mode = SHARED;" "PRAGMA .synchronous = NORMAL;" "PRAGMA .journal_mode = WAL;" @@ -32,6 +33,7 @@ static const char *SafeConfig = // Configuration to provide "Fast" connections static const char *FastConfig = + "PRAGMA .busy_timeout = 5000;" "PRAGMA .locking_mode = SHARED;" "PRAGMA .synchronous = OFF;" "PRAGMA .journal_mode = OFF;";