Skip to main content

Module journal

Module journal 

Source
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§

CheckpointResult
The result of a WAL checkpoint operation.

Enums§

CheckpointMode
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.