1
0
mirror of https://github.com/scsibug/nostr-rs-relay.git synced 2025-04-14 01:49:56 -04:00

feat: ensure that WAL is truncated after checkpoint

This commit is contained in:
Greg Heartsfield 2022-09-10 19:18:57 -05:00
parent 2b03f11e5e
commit 08b011ad07

@ -13,6 +13,7 @@ use std::time::Instant;
pub const STARTUP_SQL: &str = r##"
PRAGMA main.synchronous=NORMAL;
PRAGMA foreign_keys = ON;
PRAGMA journal_size_limit=32768;
pragma mmap_size = 536870912; -- 512MB of mmap
"##;