2
0

Implements MinConns, the minimum size of the connection pool.

The health check will increase the number of connections to this amount if it had dropped below.
This commit is contained in:
Patrick Ellul
2020-02-04 08:17:53 +11:00
parent 77c1076d39
commit a01827732f
4 changed files with 51 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ require (
github.com/jackc/pgio v1.0.0
github.com/jackc/pgproto3/v2 v2.0.1
github.com/jackc/pgtype v1.1.0
github.com/jackc/puddle v1.0.1-0.20200126004755-807afe48a83d
github.com/jackc/puddle v1.0.1-0.20200203142542-cde4bcb7af80
github.com/mattn/go-colorable v0.1.2 // indirect
github.com/mattn/go-isatty v0.0.9 // indirect
github.com/rs/zerolog v1.15.0