diff --git a/src/repo/sqlite_migration.rs b/src/repo/sqlite_migration.rs index 61f8524..6990106 100644 --- a/src/repo/sqlite_migration.rs +++ b/src/repo/sqlite_migration.rs @@ -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 "##;