-
Notifications
You must be signed in to change notification settings - Fork 45
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
Automated socket reconnect #72
base: master
Are you sure you want to change the base?
Conversation
841c14f
to
5182ab8
Compare
Are there any known issues that need to be addressed before this is ready to merge in? I'd like to use this instead of implementing my own socket keep-alive logic. |
@LobsterUberlord The socket code was refactored earlier in the week so I'll need to rework this code to support socket-based reconnects: 6811339 This code can't be rebased and merged in its current form. If you're interested to introduce a pull request to bring this logic into the SDK I'd be happy to review it for you. 🙏 |
IOException.
autoReconnect
tofalse
. The reason I did this is in case users have existing code doing socket reconnects. If they upgrade and forgot to change atrue
parameter, they would be "double reconnecting" in the case of disconnects.