-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove Clustering #16
Conversation
@@ -122,6 +124,7 @@ describe('server', function() { | |||
server.start.domain.removeListener('error', errorListener); | |||
expect(monitor.increment.calledWith('error.unhandled')) | |||
.to.be.true(); | |||
expect(process.exit.calledOnce); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also expect histogram call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheeky, yeah let me add monitoring tests for that.
can we add a functional test which test the case which prompted this PR? |
I suppose so, though the code that was causing it was removed. |
@anandkumarpatel - Added. |
👍 |
Due to an issue with node, we cannot use clustering for UDP in 0.12. Since it is only nice-to-have and not show-stopping, I opted to remove clustering for the time being in charon. Also, note that UDP clustering was added in v0.11.14, so we cannot rely on using 0.10.x to do this.
This PR removes clustering and adds
process.exit(1)
to the domain error handler.