1
0
mirror of https://github.com/golang/go synced 2024-11-18 01:24:49 -07:00
go/src/database/sql
Daniel Theophanes 6c61a57cfc database/sql: add SetConnMaxIdleTime
Allow removing a connection from the connection pool after
it has been idle for a period of time, without regard to the
total lifespan of the connection.

Fixes #25232

Change-Id: Icff157b906769a2d2d45c67525e04a72feb8d832
Reviewed-on: https://go-review.googlesource.com/c/go/+/145758
Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2020-02-21 18:36:57 +00:00
..
driver
convert_test.go
convert.go
ctxutil.go
doc.txt
example_cli_test.go
example_service_test.go
example_test.go
fakedb_test.go
sql_test.go database/sql: add SetConnMaxIdleTime 2020-02-21 18:36:57 +00:00
sql.go database/sql: add SetConnMaxIdleTime 2020-02-21 18:36:57 +00:00