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

using dieChan to close application #17

Merged
merged 1 commit into from
Jun 5, 2018
Merged

Conversation

henrod
Copy link
Contributor

@henrod henrod commented May 23, 2018

Change the way nats module closes the application when it can't reconnect anymore.

Also, made a test on cluster/nats_rpc_common_test.go to make sure the appDieChan is being closed when can't reconnect after 1 retry.

@coveralls
Copy link

coveralls commented May 23, 2018

Pull Request Test Coverage Report for Build 196

  • 12 of 12 (100.0%) changed or added relevant lines in 4 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.07%) to 77.722%

Files with Coverage Reduction New Missed Lines %
agent/agent.go 2 82.4%
Totals Coverage Status
Change from base Build 192: 0.07%
Covered Lines: 3276
Relevant Lines: 4215

💛 - Coveralls

Copy link
Contributor

@cscatolini cscatolini left a comment

Choose a reason for hiding this comment

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

LGTM

@henrod apparently you need to fix some conflicts before I can merge this using the UI.

Copy link
Contributor

@cscatolini cscatolini left a comment

Choose a reason for hiding this comment

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

🚢 it

@felipejfc felipejfc merged commit 222b42c into master Jun 5, 2018
@henrod henrod deleted the feature/nats_die_chan branch July 18, 2018 16:49
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.

None yet

4 participants