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

Update pgsql/index.js query() Catch Block #555

Merged
merged 3 commits into from May 6, 2020
Merged

Conversation

EdwardChapman
Copy link
Contributor

The catch block within the query method of index.js did not release clients back to the connection pool. This resulted in clients not being released back to the pool after a failed query, and therefore becoming unusable or dead clients.

The catch block within the query method of index.js did not release clients back to the connection pool. This resulted in clients not being released back to the pool after a failed query, and therefore becoming unusable or dead clients.
packages/drivers/src/driver/pgsql/index.ts Outdated Show resolved Hide resolved
packages/drivers/src/driver/pgsql/index.ts Outdated Show resolved Hide resolved
EdwardChapman and others added 2 commits May 6, 2020 11:25
Co-authored-by: Matheus Teixeira <matheus.mtxr@gmail.com>
@mtxr mtxr merged commit aa9a24a into mtxr:master May 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

Successfully merging this pull request may close these issues.

None yet

2 participants