mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2025-05-03 08:19:57 -04:00
improvement: increase connection cache size
This commit is contained in:
parent
e36c791c53
commit
5999009779
@ -17,6 +17,7 @@ PRAGMA main.synchronous = NORMAL;
|
|||||||
PRAGMA foreign_keys = ON;
|
PRAGMA foreign_keys = ON;
|
||||||
PRAGMA journal_size_limit = 32768;
|
PRAGMA journal_size_limit = 32768;
|
||||||
PRAGMA temp_store = 2; -- use memory, not temp files
|
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
|
pragma mmap_size = 17179869184; -- cap mmap at 16GB
|
||||||
"##;
|
"##;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user