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

make MAX_TRIES configurable #2469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matejdro
Copy link
Contributor

@matejdro matejdro commented Nov 16, 2020

I've been experiencing issues with my Z-wave network: Every once in a while, a message will randomly timeout, most often when sending multiple messages at a time (https://groups.google.com/g/openzwave/c/Jcw-wn2i4FI).

I've not been able to find root cause of the issue, so as a workaround, I have shortened the timeout. This solved the "network freezing for 10 seconds" issue, but the problem is that dropped message could leave my system in inconsistent state. So I've also decided to enable retries.

Unfortunately, there has been no config option for retries until now. Option has only been hardcoded. This PR fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants