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

Fix "Database is locked" #1091

Closed
wants to merge 1 commit into from
Closed

Conversation

mfranciszkiewicz
Copy link
Contributor

According to diesel-rs/diesel#2365, a part of current connection setup may itself require a lock on the database. This PR sets a timeout prior to executing the remaining PRAGMA statements.

Tested with success on a local setup. So far no "Database is locked" errors appeared while testing on devnet-beta.1, though it has proven to be difficult due to bugs

@mfranciszkiewicz
Copy link
Contributor Author

Will be solved with an update to #1082

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

Successfully merging this pull request may close these issues.

1 participant