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

not release client from pool #2

Open
royigoldi opened this issue Oct 18, 2018 · 0 comments
Open

not release client from pool #2

royigoldi opened this issue Oct 18, 2018 · 0 comments

Comments

@royigoldi
Copy link

Hi,

I used your library and I saw that my node server stuck on Postgres queries.
The exception is "Connection terminated".
I start look at your's source code in the database-client.js and I saw:
in the ensureConnection() method you that use from query/execute/querySingle
you got object from the pool.connect() but you never call to the release function on it to return it to the pool after you finished the execution.

Thanks,
Royi

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