From 71a1f6fae73c9dca4226629e9d6560739bb75c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Mon, 22 Jul 2024 21:52:36 -0400 Subject: [PATCH] specify dedicated directory for sahpool --- src/sqlite3.worker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sqlite3.worker.ts b/src/sqlite3.worker.ts index 7ab057a..72fe3ef 100644 --- a/src/sqlite3.worker.ts +++ b/src/sqlite3.worker.ts @@ -12,8 +12,9 @@ onmessage = async (event) => { await sqlite3.installOpfsSAHPoolVfs({ clearOnInit: false, initialCapacity: 65536, + directory: "/var/managed-sah" }); sqlite3.initWorker1API(); - console.log(sqlite3.capi.sqlite3_vfs_find("opfs-sah")); + console.log(sqlite3.capi.sqlite3_vfs_find("opfs-sahpool")); } };