With #17, focuslight now uses Sequel, but still remains some issues for mysql support.
Currently, focuslight keeps connection to MySQL in a process. However, it does not reconnect gets connection error once, then reconnect when the connection is killed by some reasons such as mysql restart. So, it requires to restart focuslight itself.
I made sure how GrowthForecast works. One option is to follow the GrowthForecast way.
SQLite: keep to open
MySQL: connect everytime on each request
With #17, focuslight now uses Sequel, but still remains some issues for mysql support.
Currently, focuslight keeps connection to MySQL in a process. However, it
does not reconnectgets connection error once, then reconnect when the connection is killed by some reasons such as mysql restart.So, it requires to restart focuslight itself.I made sure how GrowthForecast works. One option is to follow the GrowthForecast way.
SQLite: keep to open
MySQL: connect everytime on each request