1
0
mirror of https://github.com/scsibug/nostr-rs-relay.git synced 2025-03-16 18:10:28 -04:00

improvement: increase connection cache size

This commit is contained in:
Greg Heartsfield 2023-02-02 18:34:30 -06:00
parent e36c791c53
commit 5999009779

@ -17,6 +17,7 @@ PRAGMA main.synchronous = NORMAL;
PRAGMA foreign_keys = ON;
PRAGMA journal_size_limit = 32768;
PRAGMA temp_store = 2; -- use memory, not temp files
PRAGMA main.cache_size = 20000; -- 80MB max cache size per conn
pragma mmap_size = 17179869184; -- cap mmap at 16GB
"##;