in gorm v1.22.4 , stress test my services. it still reutrn unanticipated error when context canceled, such sql: transaction has already been committed or rolled back sql: statement is closed driver: bad connection
and I try in unitest
The document you expected this should be explained
https://gorm.io
Expected answer
why?
Comment From: ghost
hello, you can see this issue .
https://github.com/go-gorm/gorm/issues/3836
Comment From: yushion-yang
@longlihale it is not i need answer,thanks
Comment From: jinzhu
SQL takes too much time, connection killed by mysql server will cause the bad connection issue.