MCPcopy Create free account
hub / github.com/chatmail/core / wal_checkpoint

Method wal_checkpoint

src/sql/pool.rs:203–205  ·  view source on GitHub ↗

Truncates the WAL file.

(&self)

Source from the content-addressed store, hash-verified

201
202 /// Truncates the WAL file.
203 pub(crate) async fn wal_checkpoint(&self) -> Result<WalCheckpointStats> {
204 wal_checkpoint::wal_checkpoint(self).await
205 }
206}

Callers

nothing calls this directly

Calls 1

wal_checkpointFunction · 0.85

Tested by

no test coverage detected