diff --git a/db/connection.go b/db/connection.go index ac05cd1a..bcecc89f 100644 --- a/db/connection.go +++ b/db/connection.go @@ -217,6 +217,7 @@ func InitializeDatabase(ctx context.Context, uri string) error { } return nil } + config.MaxConns = 10 db, err := pgxpool.NewWithConfig(ctx, config) if err != nil { return fmt.Errorf("new pool: %w", err)