mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-13 18:45:44 -04:00
The WAL file can grow depending on the transactions that are run. A critical case is VACUUM which basically writes the content of the DB file to the WAL file before writing it back to the DB file. SQLite doesn't try to reduce the size of the file after that unless we set an explicit limit, so we could end up taking twice the size of the database on the filesystem. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>