Updated example config

This commit is contained in:
Asaf Gartner 2023-01-29 08:53:24 +02:00
parent 859a78c079
commit a324af8a0c
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
package config
import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/tracelog"
"github.com/rs/zerolog"
)
@ -19,7 +19,7 @@ var Config = HMNConfig{
Hostname: "localhost",
Port: 5432,
DbName: "hmn",
LogLevel: pgx.LogLevelTrace, // LogLevelWarn is recommended for production
LogLevel: tracelog.LogLevelError, // LogLevelWarn is recommended for production
MinConn: 2, // Keep these low for dev, high for production
MaxConn: 10,
},