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

Method MaxLifetimeDestroyCount

pgxpool/stat.go:76–78  ·  view source on GitHub ↗

MaxLifetimeDestroyCount returns the cumulative count of connections destroyed because they exceeded MaxConnLifetime.

()

Source from the content-addressed store, hash-verified

74// MaxLifetimeDestroyCount returns the cumulative count of connections destroyed
75// because they exceeded MaxConnLifetime.
76func (s *Stat) MaxLifetimeDestroyCount() int64 {
77 return s.lifetimeDestroyCount
78}
79
80// MaxIdleDestroyCount returns the cumulative count of connections destroyed because
81// they exceeded MaxConnIdleTime.

Calls

no outgoing calls