Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testauskoira-rs database reconnection #7

Open
ahnl opened this issue May 7, 2022 · 2 comments
Open

Testauskoira-rs database reconnection #7

ahnl opened this issue May 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ahnl
Copy link
Member

ahnl commented May 7, 2022

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.

@ahnl ahnl added the bug Something isn't working label May 7, 2022
@Chicken
Copy link
Member

Chicken commented May 7, 2022

Or instead revise the deployment logic for testauskoira-rs to not be a stupid SSH hack and instead use smarter technologies like watchtower to pull and restart only the testauskoira-rs container when a new image is released.

@developerfromjokela
Copy link
Member

Or instead revise the deployment logic for testauskoira-rs to not be a stupid SSH hack and instead use smarter technologies like watchtower to pull and restart only the testauskoira-rs container when a new image is released.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

3 participants