From 2ba9787a4777d530879d9bd5ae8369879ef423d8 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 18 Dec 2023 15:12:17 +0500 Subject: [PATCH] web: use memory tempStore for sqlite --- apps/web/src/common/db.ts | 1 + 1 file changed, 1 insertion(+) 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,