mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-12 14:29:06 -05:00
perf: increase upper bound for sqlite mmap
This commit is contained in:
parent
64a4466d30
commit
8c013107f9
|
@ -16,7 +16,7 @@ pub const STARTUP_SQL: &str = r##"
|
|||
PRAGMA main.synchronous=NORMAL;
|
||||
PRAGMA foreign_keys = ON;
|
||||
PRAGMA journal_size_limit=32768;
|
||||
pragma mmap_size = 134217728; -- 128MB of mmap
|
||||
pragma mmap_size = 17179869184; -- cap mmap at 16GB
|
||||
"##;
|
||||
|
||||
/// Latest database version
|
||||
|
|
Loading…
Reference in New Issue
Block a user