diff --git a/src/schema.rs b/src/schema.rs index 5c3b80d..8702395 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -13,9 +13,10 @@ use tracing::{debug, error, info}; /// Startup DB Pragmas pub const STARTUP_SQL: &str = r##" -PRAGMA main.synchronous=NORMAL; +PRAGMA main.synchronous = NORMAL; +PRAGMA auto_vacuum = FULL; PRAGMA foreign_keys = ON; -PRAGMA journal_size_limit=32768; +PRAGMA journal_size_limit = 32768; pragma mmap_size = 17179869184; -- cap mmap at 16GB "##;