mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-25 01:59:08 -05:00
improvement: enable auto_vacuum on connections
This commit is contained in:
parent
cb283ac316
commit
c0b112c094
|
@ -14,6 +14,7 @@ use tracing::{debug, error, info};
|
|||
/// Startup DB Pragmas
|
||||
pub const STARTUP_SQL: &str = r##"
|
||||
PRAGMA main.synchronous = NORMAL;
|
||||
PRAGMA auto_vacuum = FULL;
|
||||
PRAGMA foreign_keys = ON;
|
||||
PRAGMA journal_size_limit = 32768;
|
||||
pragma mmap_size = 17179869184; -- cap mmap at 16GB
|
||||
|
|
Loading…
Reference in New Issue
Block a user