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

Do DB reconnect indefinitely by default #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dankeder
Copy link

@dankeder dankeder commented Jul 9, 2023

And provide configuration options to limit the number of retries and wait time between reconnects: db_retry_wait and db_retry_limit.

Issue: #106

@dankeder dankeder force-pushed the dan/retry-db-connect branch 2 times, most recently from cc6893e to 90981c0 Compare July 9, 2023 20:45
@freol35241
Copy link
Owner

Thanks @dankeder. Fyi, I am currently on some holiday, will not have a look at this until I am back home.

Copy link
Owner

@freol35241 freol35241 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, a couple of in-code comments for you to have a look at.

README.md Outdated Show resolved Hide resolved
custom_components/ltss/__init__.py Outdated Show resolved Hide resolved
custom_components/ltss/__init__.py Outdated Show resolved Hide resolved
And provide configuration options to limit the number of retries and wait time between reconnects: `db_retry_wait` and `db_retry_limit`.
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.

2 participants