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

🐛 Fixes database-locked. #747

Merged
merged 4 commits into from
Aug 21, 2024
Merged

🐛 Fixes database-locked. #747

merged 4 commits into from
Aug 21, 2024

Conversation

jortel
Copy link
Contributor

@jortel jortel commented Aug 20, 2024

Seems the underlying sqlite driver keeps the lock until the connection is closed.
The Conn acquires the mutex and holds it until the connection is closed. The Tx and Stmt are no longer necessary.

Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
@jortel jortel merged commit cd7d9ed into konveyor:main Aug 21, 2024
14 checks passed
dymurray pushed a commit that referenced this pull request Oct 11, 2024
Seems the underlying sqlite driver keeps the lock until the connection
is closed.
The `Conn` acquires the mutex and holds it until the connection is
closed. The `Tx` and `Stmt` are no longer necessary.

---------

Signed-off-by: Jeff Ortel <[email protected]>
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