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

Method MaxIdleDestroyCount

pgxpool/stat.go:82–84  ·  view source on GitHub ↗

MaxIdleDestroyCount returns the cumulative count of connections destroyed because they exceeded MaxConnIdleTime.

()

Source from the content-addressed store, hash-verified

80// MaxIdleDestroyCount returns the cumulative count of connections destroyed because
81// they exceeded MaxConnIdleTime.
82func (s *Stat) MaxIdleDestroyCount() int64 {
83 return s.idleDestroyCount
84}
85
86// EmptyAcquireWaitTime returns the cumulative time waited for successful acquires
87// from the pool for a resource to be released or constructed because the pool was

Calls

no outgoing calls