From 20ec594e80de622fda01436bcbf1207cb6201323 Mon Sep 17 00:00:00 2001 From: Moshe Immermam Date: Tue, 23 Jan 2024 18:27:07 +0200 Subject: [PATCH] chore: fix build --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }