We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e02ea57 commit 8140ab3Copy full SHA for 8140ab3
cmd/postgres_exporter/server.go
@@ -69,7 +69,7 @@ func NewServer(dsn string, opts ...ServerOpt) (*Server, error) {
69
return nil, err
70
}
71
db.SetMaxOpenConns(1)
72
- db.SetMaxIdleConns(1)
+ db.SetMaxIdleConns(0)
73
74
level.Info(logger).Log("msg", "Established new database connection", "fingerprint", fingerprint)
75
0 commit comments