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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user