mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-08 02:01:23 +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
|
return nil, err
|
||||||
}
|
}
|
||||||
db.SetMaxOpenConns(1)
|
db.SetMaxOpenConns(1)
|
||||||
db.SetMaxIdleConns(1)
|
db.SetMaxIdleConns(-1)
|
||||||
|
|
||||||
logger.Info("Established new database connection", "fingerprint", fingerprint)
|
logger.Info("Established new database connection", "fingerprint", fingerprint)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user