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

Remove Clustering #16

Merged
merged 4 commits into from
Apr 22, 2015
Merged

Remove Clustering #16

merged 4 commits into from
Apr 22, 2015

Conversation

rsandor
Copy link
Contributor

@rsandor rsandor commented Apr 20, 2015

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.

@@ -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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also expect histogram call?

Copy link
Contributor Author

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.

@anandkumarpatel
Copy link
Contributor

can we add a functional test which test the case which prompted this PR?
basically run charon, then make calls to it 10ish times and make sure it does not crash

@rsandor
Copy link
Contributor Author

rsandor commented Apr 22, 2015

I suppose so, though the code that was causing it was removed.

@rsandor
Copy link
Contributor Author

rsandor commented Apr 22, 2015

@anandkumarpatel - Added.

@anandkumarpatel
Copy link
Contributor

👍

anandkumarpatel pushed a commit that referenced this pull request Apr 22, 2015
@anandkumarpatel anandkumarpatel merged commit c8834f6 into master Apr 22, 2015
@anandkumarpatel anandkumarpatel deleted the rsandor/nocluster branch April 22, 2015 20:25
@rsandor rsandor restored the rsandor/nocluster branch August 18, 2015 18:42
@rsandor rsandor deleted the rsandor/nocluster branch August 18, 2015 18:45
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