Updated example config
This commit is contained in:
parent
859a78c079
commit
a324af8a0c
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue