specify dedicated directory for sahpool

This commit is contained in:
parent fbd87c0b89
commit 71a1f6fae7
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -12,8 +12,9 @@ onmessage = async (event) => {
await sqlite3.installOpfsSAHPoolVfs({ await sqlite3.installOpfsSAHPoolVfs({
clearOnInit: false, clearOnInit: false,
initialCapacity: 65536, initialCapacity: 65536,
directory: "/var/managed-sah"
}); });
sqlite3.initWorker1API(); sqlite3.initWorker1API();
console.log(sqlite3.capi.sqlite3_vfs_find("opfs-sah")); console.log(sqlite3.capi.sqlite3_vfs_find("opfs-sahpool"));
} }
}; };