fix(config): register WAL sizing pragmas in DEFAULT_CONFIG

database.wal_autocheckpoint / database.journal_size_limit are now real
schema keys (default None = SQLite defaults) so the dashboard config
schema doesn't produce a single-field 'database' category, and the two
pragmas apply_database_pragmas reads are discoverable/documented.
This commit is contained in:
Teknium
2026-07-29 18:02:08 -07:00
parent 52b16c2d92
commit 9d4bfd5e3d
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -14,6 +14,9 @@
# NFS, or SMB. Hermes will not live-downgrade a database already open in WAL.
database:
journal_mode: "wal" # Supported values: "wal", "delete"
# Optional WAL sizing pragmas (integers). Unset = SQLite defaults.
# wal_autocheckpoint: 1000 # pages between automatic checkpoints
# journal_size_limit: 67108864 # cap the WAL/journal file size in bytes
# =============================================================================
# Model Configuration