Your Question
GORM隔一段时间后,就会长时间不响应
GORM may not respond for a long time after a certain period of time
The document you expected this should be explained
前端取消请求后
After the front-end cancels the request
后端的数据库查询直接cancel了
The backend database query was directly cancelled
查看数据库的连接正常
Check if the connection to the database is normal
Expected answer
gorm正常查询数据库
Gorm queries the database normally
Comment From: black-06
Check if the connection to the database is normal
Excuse me, how do you check the db connection?
Comment From: aohanhongzhi
Check if the connection to the database is normal
Excuse me, how do you check the db connection?
I dont know, but I found the problem is cause by redis ,not grom