MCPcopy Create free account
hub / github.com/upper/db / SetConnMaxLifetime

Method SetConnMaxLifetime

adapter/mongo/database.go:106–108  ·  view source on GitHub ↗

SetConnMaxLifetime is not supported.

(time.Duration)

Source from the content-addressed store, hash-verified

104
105// SetConnMaxLifetime is not supported.
106func (s *Source) SetConnMaxLifetime(time.Duration) {
107 s.Settings.SetConnMaxLifetime(time.Duration(0))
108}
109
110// SetMaxIdleConns is not supported.
111func (s *Source) SetMaxIdleConns(int) {

Callers

nothing calls this directly

Calls 1

SetConnMaxLifetimeMethod · 0.65

Tested by

no test coverage detected