You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the sqlite database is being read by another application and is intermittently locked for short periods of time. There is no way (that I know of) to currently have the database wait for the lock to free.
What is the feature you are proposing to solve the problem?
the better-sqlite3 library has a timeout option...
options.timeout: the number of milliseconds to wait
when executing queries on a locked database,
before throwing a SQLITE_BUSY error (default: 5000).
Activity
karimfromjordan commentedon Sep 18, 2023
Isn't this already possible by running the following?
internalfx commentedon Sep 18, 2023
Nice! That does work. I always thought that was supported by the connection library not SQLITE itself. Good to know!