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

Support configuring of reconnect #123

Closed
bellrichm opened this issue Feb 20, 2021 · 2 comments
Closed

Support configuring of reconnect #123

bellrichm opened this issue Feb 20, 2021 · 2 comments
Assignees
Milestone

Comments

@bellrichm
Copy link
Owner

bellrichm commented Feb 20, 2021

reconnect_delay_set

reconnect_delay_set(min_delay=1, max_delay=120)
The client will automatically retry connection. Between each attempt it will wait a number of seconds between min_delay and max_delay.

When the connection is lost, initially the reconnection attempt is delayed of min_delay seconds. It's doubled between subsequent attempt up to max_delay.

The delay is reset to min_delay when the connection complete (e.g. the CONNACK is received, not just the TCP connection is established).

https://www.eclipse.org/paho/index.php?page=clients/python/docs/index.php#connect-reconnect-disconnect

@bellrichm bellrichm changed the title Support configuring of recco Support configuring of reconnect Feb 21, 2021
@bellrichm bellrichm modified the milestones: Release 2.0.0, Release 2.1.0 Apr 8, 2021
@bellrichm
Copy link
Owner Author

Should log these values

bellrichm added a commit that referenced this issue Apr 8, 2021
@bellrichm
Copy link
Owner Author

2.1 has been released

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

No branches or pull requests

1 participant