bolin-L

Results 9 comments of bolin-L

当初没考虑到docker的发布方式, 但是现在也是可以实现的。 在打包到容器之后在执行启动命令之前创建启动脚本`./bin/start.sh`, 并把需要的环境变量配置到 `start.sh`中,然后启动命令改成 `sh start.sh`即可

我碰到过这个问题 是mysqljs/mysql这个库维护的连接池没有超时销毁的问题,好像是服务端的mysql连接有一个8小时的强制销毁机制啥的,不会通知到客户端断开,所以客户端的连接池的连接会一直存在, 可以看看这个PR[Add idleConnectionTimeout to pool options](https://github.com/mysqljs/mysql/pull/2218 )。 我的临时做法是开定时任务select 1让连接保活

@dougwilson Thank you for the timely response. I got your explanation, but I still have a few puzzles. 1. why the connection still returns a result after acquiring timeout, running...

@dougwilson I understand but I can not provide a way to you to debug, because It is the company‘s project. I can reproduce the issue just a few times one...

@dougwilson Yes, I accept your answer. But I want to know why it is timeout when pinging because it is so strange (Always appear in the first few requests of...

@dougwilson I think I found the question. the MySQL connection will be recycled when idle time over 8 hours (set by `wait_timeout`), but the client still holding on it in...

> Hello @11Ashish11, thank you for raising the feature request. We will keep you posted on the updates on it. We have been facing this issue too. below is our...

嗯嗯 近期会把整个项目依赖都统一升级一遍,到时候再一起修改发布