web: use memory tempStore for sqlite

This commit is contained in:
Abdullah Atta
2023-12-18 15:12:17 +05:00
parent 5c2cb331c8
commit 2ba9787a47

View File

@@ -65,6 +65,7 @@ async function initializeDatabase(persistence: DatabasePersistence) {
createQueryCompiler: () => new SqliteQueryCompiler()
}),
journalMode: "MEMORY",
tempStore: "memory",
synchronous: "normal",
pageSize: 8192,
cacheSize: -16000,