node-sqlcipher
node-sqlcipher copied to clipboard
Unable to set PRAGMA busy_timeout
I am experiencing some errors of type SQLITE_BUSY: database is locked and I want to test if configuring thePRAGMA busy_timeout solves this problem. I can't configure it, any idea?
let db = new sqlite3.Database(dbName);
db.run('PRAGMA busy_timeout = 6000');
db.configure("busyTimeout", 6000);
Thanks!