3 ms·
I think there's a workaround if I understood the official documentation correctly: https://www.sqlite.org/wal.html#avoiding_excessively_large_wal_files https://
by stefanos82 2y ago
I think there's a workaround if I understood the official documentation correctly: https://www.sqlite.org/wal.html#avoiding_excessively_large_wal_files https://www.sqlite.org/wal.html#avoiding_excessively_large_w...
- kgeist 2y agoYeah, when implementing this hack, I took the advice from this exact page: >This scenario can be avoided by ensuring that there are "reader gaps": times when no processes are reading from the database and that checkpoints are attempted during those times I create reader/writer gaps by calling sleep() (before opening transactions) and activate the checkpointer manually in the checkpointer goroutine.