Skip to content

Unable to set PRAGMA busy_timeout #85

Description

@ajmasia

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions