Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: use memory tempStore for sqlite

Abdullah Atta0123da10f73d
diff --git a/apps/web/src/common/db.ts b/apps/web/src/common/db.ts
index e0342a5c4..9cd9c9c83 100644
--- a/apps/web/src/common/db.ts
+++ b/apps/web/src/common/db.ts
@@ -65,6 +65,7 @@ async function initializeDatabase(persistence: DatabasePersistence) {
createQueryCompiler: () => new SqliteQueryCompiler()
}),
journalMode: "MEMORY",
+ tempStore: "memory",
synchronous: "normal",
pageSize: 8192,
cacheSize: -16000,