We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ce50c0 commit bb8c52fCopy full SHA for bb8c52f
pgxpool/pool.go
@@ -112,7 +112,7 @@ type Config struct {
112
// MaxConnIdleTime is the duration after which an idle connection will be automatically closed by the health check.
113
MaxConnIdleTime time.Duration
114
115
- // MaxConns is the maximum size of the pool.
+ // MaxConns is the maximum size of the pool. The default is the greater of 4 or runtime.NumCPU().
116
MaxConns int32
117
118
// MinConns is the minimum size of the pool. The health check will increase the number of connections to this
0 commit comments