add SetConnMaxIdleTime for go1.15 or higher #1774
No reviewers
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1774
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/add-setconnmaxidletime"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
sql.DB got SetConnMaxIdleTime at the go 1.15 release.
https://golang.org/doc/go1.15#database/sql
https://golang.org/pkg/database/sql/#DB.SetConnMaxIdleTime
This PR add SetConnMaxIdleTime method when using go 1.15 or higher.
Test failed but this error maybe not occurred by this change.
这个什么时候可以支持 xorm 已经1.3.2了,对于sql的SetConnMaxIdleTime 设置还不能设置。
This has been resolved.
Pull request closed