2
0

Fix: pgxpool: background health check cannot overflow pool

It was previously possible for a connection to be created while the
background health check was running. The health check could create
connection(s) in excess of the maximum pool size in this case.

https://github.com/jackc/pgx/issues/1660
This commit is contained in:
Jack Christensen
2023-07-15 10:07:26 -05:00
parent f47f0cf823
commit c513e2e435
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ go 1.19
require (
github.com/jackc/pgpassfile v1.0.0
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a
github.com/jackc/puddle/v2 v2.2.0
github.com/jackc/puddle/v2 v2.2.1
github.com/stretchr/testify v1.8.1
golang.org/x/crypto v0.9.0
golang.org/x/sys v0.8.0