MCPcopy
hub / github.com/jackc/pgx / IdleConns

Method IdleConns

pgxpool/stat.go:53–55  ·  view source on GitHub ↗

IdleConns returns the number of currently idle conns in the pool.

()

Source from the content-addressed store, hash-verified

51
52// IdleConns returns the number of currently idle conns in the pool.
53func (s *Stat) IdleConns() int32 {
54 return s.s.IdleResources()
55}
56
57// MaxConns returns the maximum size of the pool.
58func (s *Stat) MaxConns() int32 {

Callers 3

checkMinConnsMethod · 0.80

Calls

no outgoing calls