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

Leak of DB connections #9

Closed
dimus opened this issue Feb 5, 2020 · 0 comments
Closed

Leak of DB connections #9

dimus opened this issue Feb 5, 2020 · 0 comments

Comments

@dimus
Copy link
Member

dimus commented Feb 5, 2020

When the project is used as a library, especially when queried name by name instead of a stream, it runs out of connections to DB quite fast. The best would be to create a pool of connections, but as it is a prototype, it should be sufficient enough just to open a connection before query and close it after.

@dimus dimus closed this as completed in 345b4f2 Feb 6, 2020
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

No branches or pull requests

1 participant