mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-22 00:59:07 -05:00
feat: ensure that WAL is truncated after checkpoint
This commit is contained in:
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
|
||||
"##;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user