make configurable wal auto checkpoint (#2242)

This commit is contained in:
Kristoffer Dalby
2024-11-23 21:03:48 +01:00
committed by GitHub
parent dc17b4d378
commit 64bb56352f
3 changed files with 14 additions and 6 deletions

View File

@@ -168,6 +168,11 @@ database:
# https://www.sqlite.org/wal.html
write_ahead_log: true
# Maximum number of WAL file frames before the WAL file is automatically checkpointed.
# https://www.sqlite.org/c3ref/wal_autocheckpoint.html
# Set to 0 to disable automatic checkpointing.
wal_autocheckpoint: 1000
# # Postgres config
# Please note that using Postgres is highly discouraged as it is only supported for legacy reasons.
# See database.type for more information.