-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Description of the current behaviour
Since mysql-connector expires after a while, on v0.2.1 we changed from making the connection only when the server was up, to connecting for every single call to backend.
That implies we are opening and closing connections when not needed, since the connection wouldn't have expired.
Description of the behaviour you'd like
Create a connection when required, and only reconnect if it has expired.
That would probably save a lot of execution time.