diff options
author | stephan <stephan@noemail.net> | 2024-07-13 00:55:55 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-07-13 00:55:55 +0000 |
commit | f7623a0871c51b8680057e0682b08dc52bfa27f2 (patch) | |
tree | 8f8c9110de897ac57ba645ab508dca9439b888ca /ext/wasm/api | |
parent | 8ee747dda55887775417e13882ffed29868a0865 (diff) | |
download | sqlite-f7623a0871c51b8680057e0682b08dc52bfa27f2.tar.gz sqlite-f7623a0871c51b8680057e0682b08dc52bfa27f2.zip |
Rename the new opfs-sahpool init-retry flag to the suitably descriptive, and suitably onerous, forceReinitIfPreviouslyFailed, based on feedback.
FossilOrigin-Name: c9f0a6090258534a3d81066df5610229183a8457fc60d5034b4b94d9a29796e4
Diffstat (limited to 'ext/wasm/api')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js index 2a0471e25..86ba3add8 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js @@ -103,7 +103,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ /* Logging verbosity 3+ == everything, 2 == warnings+errors, 1 == errors only. */ verbosity: 2, - forceReinitIfFailed: false + forceReinitIfPreviouslyFailed: false }); /** Logging routines, from most to least serious. */ @@ -1080,7 +1080,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ then a directory name is synthesized from the `name` option. - - `forceReinitIfFailed`: (default=`false`) Is a fallback option + - `forceReinitIfPreviouslyFailed`: (default=`false`) Is a fallback option to assist in working around certain flaky environments which may mysteriously fail to permit access to OPFS sync access handles on an initial attempt but permit it on a second attemp. This option @@ -1231,7 +1231,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ return p; }catch(e){ //log("installOpfsSAHPoolVfs() got cached failure",options,vfsName,e); - if( options.forceReinitIfFailed ){ + if( options.forceReinitIfPreviouslyFailed ){ delete initPromises[vfsName]; /* Fall through and try again. */ }else{ |