Skip to content

Conversation

@H0llyW00dzZ
Copy link
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Problem/Feature

This pull request addresses the need to avoid runtime confusion during MySQL connection initialization by adding a timeout to the Ping operation. Without a timeout, the application could hang indefinitely if the database is unreachable, leading to potential issues in production environments.

Description of Changes:

  • [+] feat(mysql.tmpl): add timeout for the Ping operation during database initialization

Checklist

- [+] feat(mysql.tmpl): add timeout for the Ping operation during database initialization
- [+] docs(mysql.tmpl): add note about limitations in error handling for database connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant