mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-07 17:51:33 +00:00
Merge 1273715d11
into f8b7139174
This commit is contained in:
commit
9820416e01
@ -68,7 +68,7 @@ func NewServer(dsn string, opts ...ServerOpt) (*Server, error) {
|
||||
return nil, err
|
||||
}
|
||||
db.SetMaxOpenConns(1)
|
||||
db.SetMaxIdleConns(1)
|
||||
db.SetMaxIdleConns(-1)
|
||||
|
||||
logger.Info("Established new database connection", "fingerprint", fingerprint)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user