-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
maxFirstConnects to avoid reconnection loop #396
Comments
@mcollina I just ran into this issue and am hoping to contribute. Just to get some clarity, should Example: |
So, how to fix it? |
@5aurabh In that case, the current behavior (retry indefinitely) would be fine. The proposed |
This could be fixed for |
while not explicitly handled, this has been released with #1053 to deal with typical TLS level errors. So we will close this feature request issue. |
In some cases, we might be stuck in a reconnection loop were we do not expose the internal error to the user.
maxFirstConnect
loop should avoid that, so that after X (10) failed attempt to connect for the first time, we give up. Suggested by @jimbojw in #257 (comment)The text was updated successfully, but these errors were encountered: