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

Fix issue #199: Request cancellation per origin metric. #209

Conversation

mikkokar
Copy link
Contributor

Fixes issue #199.

The fix is to increment origins.ID.requests.cancelled only when a response observable is not yet completed. For this purpose I have added an AtomicBoolean to track the observable completion status.

@mikkokar mikkokar requested review from kvosper and dvlato July 10, 2018 09:59
@mikkokar mikkokar merged commit 4123874 into ExpediaGroup:master Jul 10, 2018
mikkokar added a commit to mikkokar/styx that referenced this pull request Jul 10, 2018
mikkokar added a commit to mikkokar/styx that referenced this pull request Jul 10, 2018
mikkokar added a commit that referenced this pull request Jul 10, 2018
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