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

Method SetConnMaxLifetime

settings.go:42–42  ·  view source on GitHub ↗

SetConnMaxLifetime sets the default maximum amount of time a connection may be reused.

(time.Duration)

Source from the content-addressed store, hash-verified

40 // SetConnMaxLifetime sets the default maximum amount of time a connection
41 // may be reused.
42 SetConnMaxLifetime(time.Duration)
43
44 // ConnMaxLifetime returns the default maximum amount of time a connection
45 // may be reused.

Callers 4

OpenMethod · 0.65
SetConnMaxLifetimeMethod · 0.65
copySettingsFunction · 0.65
SetConnMaxLifetimeMethod · 0.65

Implementers 1

settingssettings.go

Calls

no outgoing calls

Tested by

no test coverage detected