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

Reduce heartbeat interval. #239

Merged
merged 1 commit into from
Dec 15, 2020
Merged

Reduce heartbeat interval. #239

merged 1 commit into from
Dec 15, 2020

Conversation

ultratoto14
Copy link
Collaborator

This PR reduced the heartbeat interval to 10 seconds. Traffic is insignificant but seems to stabilize the connection between the integration and the devices.

Tried different values and 10 seconds is the largest which keep everything stable.

@postlund
Copy link
Collaborator

Fine for me! I guess we don't need the retry mechanism with this interval then? Or should we still add it for robustness sake?

@ultratoto14
Copy link
Collaborator Author

I added the log in case we go in the second try and it never happened. With this value, the heartbeat seems to never fail 😄

@ultratoto14 ultratoto14 merged commit d2a307f into master Dec 15, 2020
@ultratoto14 ultratoto14 deleted the tighter_heartbeat branch December 15, 2020 18:26
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.

None yet

2 participants