mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
Add a busy timeout of 5 seconds
This commit is contained in:
@@ -25,6 +25,7 @@ Paul Licameli -- split from ProjectFileIO.cpp
|
||||
|
||||
// Configuration to provide "safe" connections
|
||||
static const char *SafeConfig =
|
||||
"PRAGMA <schema>.busy_timeout = 5000;"
|
||||
"PRAGMA <schema>.locking_mode = SHARED;"
|
||||
"PRAGMA <schema>.synchronous = NORMAL;"
|
||||
"PRAGMA <schema>.journal_mode = WAL;"
|
||||
@@ -32,6 +33,7 @@ static const char *SafeConfig =
|
||||
|
||||
// Configuration to provide "Fast" connections
|
||||
static const char *FastConfig =
|
||||
"PRAGMA <schema>.busy_timeout = 5000;"
|
||||
"PRAGMA <schema>.locking_mode = SHARED;"
|
||||
"PRAGMA <schema>.synchronous = OFF;"
|
||||
"PRAGMA <schema>.journal_mode = OFF;";
|
||||
|
||||
Reference in New Issue
Block a user