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

Tweak subscription ceiling based on routing role #619

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

marcelveldt
Copy link
Collaborator

@marcelveldt marcelveldt commented Mar 6, 2024

Instead of choosing the subscription dynamically ceiling within a range, make it more predictable based on the device routing role:

30 seconds for wifi based, mains powered devices
60 seconds for mains powered thread devices
600 seconds for battery powered thread devices

also make sure that the mdns backoff is higher than the highest sub ceiling to prevent a useless resetup

should fix this reported issue: home-assistant/core#110218 (comment)

@marcelveldt marcelveldt added the maintenance Code (quality) improvement or small enhancement which not a new feature label Mar 6, 2024
@marcelveldt marcelveldt merged commit ec4194c into main Mar 6, 2024
4 checks passed
@marcelveldt marcelveldt deleted the subscription-timeout-tweaks branch March 6, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Code (quality) improvement or small enhancement which not a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants