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

endless reconnects #3

Merged
merged 3 commits into from
Apr 28, 2015
Merged

endless reconnects #3

merged 3 commits into from
Apr 28, 2015

Conversation

PosMich
Copy link
Contributor

@PosMich PosMich commented May 27, 2014

According to http://nodejs.org/api/net.html#net_event_error the close event is fired after the error event. This causes endless connects and takes a lot of CPU. (I added a 5s timeout to force a connect if server isn't reachable)

jaakkos added a commit that referenced this pull request Apr 28, 2015
@jaakkos jaakkos merged commit 66796a0 into jaakkos:master Apr 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants