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

make the next() call from within the circuit breaker action #38

Merged
merged 2 commits into from
Jul 24, 2020

Conversation

tjenkinson
Copy link
Contributor

Description

Without this it's possible for the code run by next to throw, and this would not be considered in the circuit breaker calculations. This change also means that some opossum options like options.capacity will now function correctly.

Motivation and Context

fixes #18

How Has This Been Tested?

With the unit tests.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Tom Jenkinson added 2 commits July 24, 2020 13:42
fixes #18

Without this it's possible for the code run by `next` to throw, and this would not be considered in the circuit breaker calculations. This change also means that some opossum options like `options.capacity` will now function correctly.
@tjenkinson tjenkinson marked this pull request as ready for review July 24, 2020 12:48
@tjenkinson tjenkinson requested a review from a team as a code owner July 24, 2020 12:48
@jordanholt
Copy link
Contributor

@tjenkinson Merge when you're ready and I'll version and publish for you.

@tjenkinson tjenkinson merged commit 6989cf9 into master Jul 24, 2020
@tjenkinson tjenkinson deleted the fix-circuitbreaker branch July 24, 2020 13:30
@tjenkinson
Copy link
Contributor Author

@jordanholt thanks. merged

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.

Circuit breaker configured incorrectly
2 participants