Skeudenn / main/db/schema / configureConnection
Function: configureConnection() ​
configureConnection(
db):void
Defined in: src/main/db/schema.ts:292
Makes db wait for a lock held by another connection (a second instance of the app, a sync tool reading the file) instead of failing at once, which is what SQLite does by default.
Parameters ​
db ​
DatabaseSync
Returns ​
void