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

add capability to retry connection after controller disconnects #38

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

Conversation

moomurrs
Copy link

Previously, the script ended upon controller disconnection. This change allows for the user to specify if the script should retry connection with controller upon a disconnect (within the timeout window).
Having the option for the script to retry (or not retry) connection is a quality of life improvement.
By default, this addition will try to reconnect upon a disconnect and the user can opt-out with retry=False parameter when listen() is invoked the first time.
Opt-in or opt-out into retry capability was more of a preference choice; it can definitely be changed to opt-in instead to maintain backwards-compatible behavior.

Previously, the script ended upon controller disconnection. This change allows for the user to specify if the script should retry connection upon a disconnect (within the timeout window)
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