diff --git a/db.go b/db.go index d25977b3..af4e211b 100644 --- a/db.go +++ b/db.go @@ -130,7 +130,7 @@ func NewPgxPool(connection string) (*pgxpool.Pool, error) { config.MaxConns = 20 } - pool, err = pgxpool.New(context.Background(), config) + pool, err = pgxpool.NewWithConfig(context.Background(), config) if err != nil { return nil, err }