Expand description
WAL configuration helpers for claw-core.
This module provides convenience functions for inspecting and tuning the SQLite Write-Ahead Log (WAL) on an open connection pool. The WAL is SQLite’s high-concurrency journaling mode and is the recommended default for claw-core deployments.
Structs§
- Checkpoint
Result - The result of a WAL checkpoint operation.
Enums§
- Checkpoint
Mode - The WAL checkpoint mode.
Functions§
- checkpoint
- Trigger an immediate WAL checkpoint, flushing WAL frames into the main database file.
- configure_
wal - Apply WAL journal mode and set the WAL auto-checkpoint threshold.
- journal_
mode - Return the current journal mode string for the database.