-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent reuse of broken connections in postgres pool
this updates the error handler we have on the postgres connection object to release back with an error in the case of an error so the underlying `pg-pool` knows to remove the connection from the rotation
- Loading branch information
1 parent
9300710
commit d655e05
Showing
1 changed file
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters