mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
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
This commit is contained in:
@ -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'
|
||||
});
|
||||
|
Reference in New Issue
Block a user