Skip to content

MySQL reconnect support #18

Description

@sonots

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions