database/sql.DB.SetConnMaxLifetime
standard libraryThe 5575th most-called standard-library method by production calls. Called 114 times across 53 modules; 106 of those run outside tests and generated code.
- prod calls
- 106
- non-test, non-generated
- all calls
- 114
- total callsites
- modules
- 53
- distinct callers
- in loop
- 8%
- of prod calls
- in tests
- 7%
- 8 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method84%A method on a value whose type is known exactly.
- Embedded method16%Reached through an embedded type.
who calls this
Notable callers
Production calls into DB.SetConnMaxLifetime from notable Go projects. Open one on the map to see what else it hammers.
- ClickHouse 3 3%
- InfluxDB 3 3%
- Vault 3 3%
- Sigstore 1 <1%
- SPIFFE 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 114, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop test
-
-
-
top callers
The modules that reach for it
The modules that call DB.SetConnMaxLifetime most in this snapshot.
- github.com/gastownhall/beads76%
- github.com/steveyegge/beads76%
- github.com/bytebase/bytebase65%
- github.com/googleapis/mcp-toolbox65%
- github.com/ClickHouse/clickhouse-go/v254%
siblings
More from database/sql
The other most-called members in this package. See all →