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

SQLite3 pooled connections not released #81

Open
gburca opened this issue Mar 1, 2019 · 0 comments
Open

SQLite3 pooled connections not released #81

gburca opened this issue Mar 1, 2019 · 0 comments
Labels

Comments

@gburca
Copy link

gburca commented Mar 1, 2019

When using sqlite3 pooled connections and executing an update SQL, the connection is never returned back to the pool after the update completes. When using select SQL statements, everything works properly.

Both select and update emit the close event, but only select emits the end event.

It looks like ConnectionPool releases the connection only when it gets the end event. Since end is never emitted with update statements, the connection is never returned to the pool.

@grncdr grncdr changed the title Pooled connections not released SQLite3 pooled connections not released Feb 12, 2020
@grncdr grncdr added the bug label Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants