https://github.com/walkor/workerman-statistics
我把a(bǔ)pplication里面的統(tǒng)計(jì)相關(guān)的功能一移到workerman里面,然后運(yùn)行時(shí)間久了,mysql的連接會(huì)斷掉!
(React\Socket\ConnectionException' with message 'mysql server has gone away'
)
不知道react-mysql的作者有沒有像workerman官方的mysql庫那樣在底層重連。
請教下大家該怎么搞呢,謝謝!
可以到這里給作者提issue。
https://github.com/bixuehujin/reactphp-mysql