novi / mysql-swift

A type safe MySQL client for Swift
MIT License
163 stars 40 forks source link

connectionPoolGetConnectionError #67

Closed shiwenwen closed 6 years ago

shiwenwen commented 6 years ago

When the service runs for a period of time, it will be a mistake --- connectionPoolGetConnectionError

HansOspina commented 6 years ago

I use this one for 2 production apps -One with high usage that has zero issues. -One with very low usage(around every 2 or 3 days when the customer is testing) and this one breaks...it cannot get a connection from the pool, I have to restart the server.

novi commented 6 years ago

Thanks for reporting. I investigate for that.

PoissonBallon commented 6 years ago

Any news about it ? I have the same issue :/

novi commented 6 years ago

Can you try to enable reconnect option in ConnectionOption ?

novi commented 6 years ago

In 0.9.0, reconnect option is enabled as defaults.