1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

AUP3: Put checkpointing in a separate thread

This is highly experimental.  It's defers most checkpointing
to a separate thread to see if we get better throughput and
less choppiness when applying effects.
This commit is contained in:
Leland Lucius
2020-07-19 03:28:02 -05:00
parent e669b365f1
commit d2b4a0e488
4 changed files with 143 additions and 32 deletions

View File

@@ -23,9 +23,7 @@ list( APPEND DEFINES
# Connection based settings. Persistent settings are done in the
# schema.
#
SQLITE_DEFAULT_LOCKING_MODE=1
SQLITE_DEFAULT_WAL_AUTOCHECKPOINT=100
SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=50000000
# SQLITE_DEFAULT_LOCKING_MODE=0
# Can't be set after a WAL mode database is initialized, so change
# the default here to ensure all project files get the same page