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

solve database is locked error #18

Merged
merged 1 commit into from
Oct 20, 2023
Merged

solve database is locked error #18

merged 1 commit into from
Oct 20, 2023

Conversation

mark0smith
Copy link
Contributor

According to mattn/go-sqlite3#274 (comment), solve "database is locked" error using db.SetMaxOpenConns(1)

@akkuman akkuman merged commit 4885929 into akkuman:master Oct 20, 2023
@akkuman
Copy link
Owner

akkuman commented Oct 20, 2023

It actually uses gitlab.com/cznic/sqlite instead of c-binding sqlite3.
I also checked the related issue (https://gitlab.com/cznic/sqlite/-/issues/65), this solution should solve

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.

2 participants