Re-deployment of *[testauskoira-rs](https://github.com/testausserveri/testauskoira-rs)* also restarts [its MariaDB service](https://github.com/Testausserveri/testauskoira-rs/blob/main/docker-compose.yml#L19-L26) causing *testausapis* to lose connection to their database. Therefore, we need to implement reconnection logic to [our database connection code](https://github.com/Testausserveri/testausapis/blob/main/src/api/v1/testauskoira/database.js#L13-L22).
Re-deployment of testauskoira-rs also restarts its MariaDB service causing testausapis to lose connection to their database.
Therefore, we need to implement reconnection logic to our database connection code.