Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set PRAGMA busy_timeout #85

Open
ajmasia opened this issue May 22, 2021 · 0 comments
Open

Unable to set PRAGMA busy_timeout #85

ajmasia opened this issue May 22, 2021 · 0 comments

Comments

@ajmasia
Copy link

ajmasia commented May 22, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant