diff options
author | stephan <stephan@noemail.net> | 2022-11-23 19:03:22 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-11-23 19:03:22 +0000 |
commit | e79cb67c3575d8254b36eba3f35dba2d62124e07 (patch) | |
tree | 1ca5a4b6e0772f994dd78947e88a6b9581ea3e89 /ext/wasm/tests/opfs/concurrency/worker.js | |
parent | ad1285c5c0be7eb92cc44a3357be71507c3c07f2 (diff) | |
download | sqlite-e79cb67c3575d8254b36eba3f35dba2d62124e07.tar.gz sqlite-e79cb67c3575d8254b36eba3f35dba2d62124e07.zip |
Add an experimental OPFS VFS-specific URI flag, opfs-unlock-asap, which tells the VFS to release implicit locks ASAP. This permits higher concurrency but hurts performance considerably. This may or may not be obsoleted by other concurrency-related experimentation.
FossilOrigin-Name: d23c917013485ec2793125221f3936b05c39d6eca941629fb819b6b4aa714520
Diffstat (limited to 'ext/wasm/tests/opfs/concurrency/worker.js')
-rw-r--r-- | ext/wasm/tests/opfs/concurrency/worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/tests/opfs/concurrency/worker.js b/ext/wasm/tests/opfs/concurrency/worker.js index 9b4898f4c..1a896e714 100644 --- a/ext/wasm/tests/opfs/concurrency/worker.js +++ b/ext/wasm/tests/opfs/concurrency/worker.js @@ -44,7 +44,7 @@ self.sqlite3InitModule().then(async function(sqlite3){ }; const run = async function(){ db = new sqlite3.oo1.DB({ - filename: 'file:'+dbName, + filename: 'file:'+dbName,//+'?opfs-unlock-asap=1'/*EXPERIMENTAL*/, flags: 'c', vfs: 'opfs' }); |