Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Implement heartbeat-based EventSource connection reset #299

Merged
merged 4 commits into from
Aug 23, 2018

Conversation

suyashkumar
Copy link
Collaborator

This should address #156 by creating a heartbeat timer that will reset the SSE connection to particle if a certain number of messages are not received every heartbeat interval.

@suyashkumar
Copy link
Collaborator Author

work on some potential tests can be found on another branch here: https://github.com/mlp6/ADPL/tree/s/heartbeat-potential-tests but some additional refactors will probably be needed to best test this heartbeat. Likely this module should be refactored into an ES6 class.

@suyashkumar suyashkumar merged commit 192b59c into master Aug 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant