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

Method NewConnsCount

pgxpool/stat.go:70–72  ·  view source on GitHub ↗

NewConnsCount returns the cumulative count of new connections opened.

()

Source from the content-addressed store, hash-verified

68
69// NewConnsCount returns the cumulative count of new connections opened.
70func (s *Stat) NewConnsCount() int64 {
71 return s.newConnsCount
72}
73
74// MaxLifetimeDestroyCount returns the cumulative count of connections destroyed
75// because they exceeded MaxConnLifetime.

Calls

no outgoing calls