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

Reconnect a dead Metasmoke websocket #470

Merged
merged 3 commits into from
Jan 19, 2017
Merged

Reconnect a dead Metasmoke websocket #470

merged 3 commits into from
Jan 19, 2017

Conversation

NobodyNada
Copy link
Member

Right now, when the Metasmoke websocket dies, SmokeDetector logs a message to the console and stops listening.

I changed it (by stumbling along with the help of Undo) so that, if a MS connection has previously succeeded, it attempts to reconnect after 10 seconds.

I also set a timeout so it will reconnect if it stops receiving heartbeats.

@Undo1 Undo1 merged commit 1a25a8c into Charcoal-SE:master Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants