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

Websocket heartbeat detection #394

Merged
merged 4 commits into from
Jan 23, 2019
Merged

Conversation

dknfeiov
Copy link
Contributor

Added heartbeat detection function to websocket to solve the connection interruption of the client due to network or other reasons. When the client connection is disconnected, the invalid connection is cleared on the node side intime

@timkpaine timkpaine added the JS label Jan 22, 2019
@texodus
Copy link
Member

texodus commented Jan 23, 2019

Thanks for the PR, much appreciated! This is a good feature. I'd like to consider a few ways we can improve this implementation more generally - exposing a custom WebSocket server is easy but will scale poorly as new features are added. Perhaps what we ultimately need to expose here is a simpler binding we can 'mixin' somehow with an arbitrary server defined by the user?

Please send us a signed CLA when you can!

@texodus texodus merged commit 388cd0d into finos:master Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants